mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-02 19:49:15 +01:00
Formatting
This commit is contained in:
parent
81a24249e6
commit
084ef5a28c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user