forked from extern/easydiffusion
Fix a bug where beta wouldn't switch properly because the config.bat/sh files weren't being written
This commit is contained in:
parent
a8c16e39b8
commit
30bf96c6cd
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user