Simplify options init/save/load

This commit is contained in:
awsr
2026-01-10 13:27:38 -08:00
parent d7e5c97c89
commit 0faabffc14
9 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -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():