Extract gui-side JSON persistence into config.py #126
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The #83 seam-2 move: gui-side JSON persistence into config.py, which already owns the service side of the same job.
Moves:
AqomuiGui.load_jsonandJSON_FILE_LISTwith open(...): json.dump(...)sites (server.json, protocol.json, profile.json, bypass_apps.json, last_server.json)AqomuiCli.load_jsonis a verbatim copy — one helper serves both entry pointsInterface:
load_json(path) -> dict,save_json(path, obj), and the per-file path constants. config.py stays Qt-free, so the cli keeps importing it (#83 placement rule).Tangle: the server catalog (#125) takes over the server.json/protocol.json sites; whichever lands second absorbs the other's half.