Skip to content

Commit

Permalink
Make parent directories when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyDaMa committed Dec 20, 2024
1 parent f4eae8f commit cad8086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/youseedee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def bisect_key(haystack, needle, key):
def ucd_dir():
"""Return the directory where Unicode data is stored"""
ucddir = Path(platformdirs.user_cache_dir("youseedee"))
ucddir.mkdir(exist_ok=True)
ucddir.mkdir(exist_ok=True, parents=True)
return ucddir


Expand Down

0 comments on commit cad8086

Please sign in to comment.