From de7ce1b533a63842d0067eb2e3469595566f983e Mon Sep 17 00:00:00 2001 From: ThoreOlthoff Date: Wed, 31 Jul 2024 13:22:45 +0200 Subject: [PATCH] fixed path var --- mailcom/parse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mailcom/parse.py b/mailcom/parse.py index f2c57b1..0a4917d 100644 --- a/mailcom/parse.py +++ b/mailcom/parse.py @@ -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 + "/")