Skip to content

Commit

Permalink
fixed path var
Browse files Browse the repository at this point in the history
  • Loading branch information
Olthoff231381 committed Jul 31, 2024
1 parent 19aa0aa commit de7ce1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mailcom/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ def init_transformers():
return ner_recognizer


def check_dir(path: Path):
def check_dir(path: str):
# check if directory is there
return path.exists()
return os.path.exists(path)


def make_dir(path: Path):
def make_dir(path: str:
# make directory at path
os.makedirs(path + "/")

Expand Down

0 comments on commit de7ce1b

Please sign in to comment.