← Commit history

Upload 1 file(s)

John Lauer ·db6b4f920a ·2mo ago ·parent 9ba572c
1 file changed +6−1
server.py+6−1
@@ -1700,7 +1700,6 @@ COMMAND_HANDLERS = {     "describe": lambda fi, args: describe.handle_describe(args),     "readiness": _handle_fusion_readiness,     "set_preference": _handle_set_preference,-    "set_auto_update": _handle_set_auto_update,     "get_preferences": _handle_get_preferences,     "install_fusion": _handle_install_fusion,     "open_design": handle_open_design,@@ -3808,6 +3807,12 @@ def _handle_set_auto_update(fusion_info: dict, args: dict) -> dict:             "statusVerb": "fusion_readiness"}  +# Registered here, NOT in the COMMAND_HANDLERS literal: that dict is built at line ~1699,+# long before this function exists, so naming it there raised NameError at import and+# crash-looped the whole bridge (done exactly that, 2026-07-22).+COMMAND_HANDLERS["set_auto_update"] = _handle_set_auto_update++ def _fusion_signin_cfg_path():     import pathlib     d = pathlib.Path(os.path.expanduser("~")) / ".adom" / "fusion-signin"