change path config

This commit is contained in:
Jesús
2021-09-14 12:51:05 -05:00
parent f129cfcc9a
commit 82e82b1cb7
3 changed files with 4 additions and 4 deletions

View File

@@ -390,8 +390,8 @@ if os.path.isfile("settings.txt"):
data_dir = os.path.normpath('./data')
else:
print("Running in non-portable mode")
settings_dir = os.path.expanduser(os.path.normpath("~/.youtube-local"))
data_dir = os.path.expanduser(os.path.normpath("~/.youtube-local/data"))
settings_dir = os.path.expanduser(os.path.normpath("~/.yt-local"))
data_dir = os.path.expanduser(os.path.normpath("~/.yt-local/data"))
if not os.path.exists(settings_dir):
os.makedirs(settings_dir)