Fix a bug where beta wouldn't switch properly because the config.bat/sh files weren't being written

This commit is contained in:
cmdr2 2022-10-28 21:00:25 +05:30
parent a8c16e39b8
commit 30bf96c6cd

View File

@ -85,7 +85,7 @@ def setConfig(config):
try: # config.json
config_json_path = os.path.join(CONFIG_DIR, 'config.json')
with open(config_json_path, 'w', encoding='utf-8') as f:
return json.dump(config, f)
json.dump(config, f)
except:
print(traceback.format_exc())