Skip to content

Commit

Permalink
recursively create model home (#996)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii A <aserhii@protonmail.com>
  • Loading branch information
dotlambda and serhii73 committed Nov 10, 2022
1 parent 1bff509 commit 95b8a96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dateparser_cli/utils.py
Expand Up @@ -24,8 +24,7 @@


def create_data_model_home():
if not os.path.isdir(dateparser_model_home):
os.makedirs(dateparser_model_home, exist_ok=True)
os.makedirs(dateparser_model_home, exist_ok=True)


def clear_cache(*args):
Expand Down

0 comments on commit 95b8a96

Please sign in to comment.