Save files inside the "share" subfolder

This commit is contained in:
Ivan R. 2022-09-12 17:10:25 +05:00
parent ff117453a9
commit 767f5b16b7
No known key found for this signature in database
GPG key ID: 67AA0CE744B974B8

View file

@ -17,7 +17,7 @@ def get_base_dir() -> str:
Returns the path to the directory where data can be stored.
"""
base_dir = os.path.expanduser('~/.local/histd')
base_dir = os.path.expanduser('~/.local/share/histd')
os.makedirs(base_dir, exist_ok=True)
return base_dir