Formatting

This commit is contained in:
cmdr2 2023-06-30 09:44:44 +05:30
parent 81a24249e6
commit 084ef5a28c

View File

@ -128,7 +128,7 @@ def getConfig(default_val=APP_CONFIG_DEFAULTS):
config_json_path = os.path.join(CONFIG_DIR, "config.json")
if not os.path.exists(config_json_path):
return default_val
else:
log.info("Converting old json config file to yaml")
with open(config_json_path, "r", encoding="utf-8") as f:
config = json.load(f)