From b82e4045d13420951ce908b0f048abfe41e9de7a Mon Sep 17 00:00:00 2001 From: replydev Date: Wed, 20 May 2020 16:38:11 +0200 Subject: [PATCH] Set default download location --- deemix/app/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/settings.py b/deemix/app/settings.py index 8e937e0..a25dc79 100644 --- a/deemix/app/settings.py +++ b/deemix/app/settings.py @@ -19,7 +19,7 @@ def initSettings(bot_mode = False): makedirs(configFolder, exist_ok=True) with open(path.join(currentFolder, 'default.json'), 'r') as d: defaultSettings = json.load(d) - defaultSettings['downloadLocation'] = "" + defaultSettings['downloadLocation'] = path.join(localpaths.getHomeFolder(), 'deemix Music') if not path.isfile(path.join(configFolder, 'config.json')): with open(path.join(configFolder, 'config.json'), 'w') as f: json.dump(defaultSettings, f, indent=2)