Skip to content

Commit

Permalink
fix directories creation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Laerte authored Nov 25, 2021
1 parent ff439d1 commit 4182de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dateparser_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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


def clear_cache(*args):
Expand Down

0 comments on commit 4182de2

Please sign in to comment.