mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
Simplify options init/save/load
This commit is contained in:
@@ -99,7 +99,7 @@ def set_config(req: Dict[str, Any]):
|
||||
updated = []
|
||||
for k, v in req.items():
|
||||
updated.append({ k: shared.opts.set(k, v) })
|
||||
shared.opts.save(shared.config_filename)
|
||||
shared.opts.save()
|
||||
return { "updated": updated }
|
||||
|
||||
def get_cmd_flags():
|
||||
|
||||
Reference in New Issue
Block a user