From 466cf034198576d87b81a8e0f21b534f73c22f26 Mon Sep 17 00:00:00 2001 From: domverse Date: Fri, 20 Mar 2026 16:02:59 +0100 Subject: [PATCH] fix: use command param instead of undefined job variable in run_sync_job Co-Authored-By: Claude Sonnet 4.6 --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index c2868b1..9ef1f45 100644 --- a/webui.py +++ b/webui.py @@ -280,7 +280,7 @@ async def run_sync_job(job_id: str, command: str) -> None: success = proc.returncode == 0 # After a successful compare, load structured results for the review UI review_url = "" - if job["command"] == "compare" and success: + if command == "compare" and success: global _compare_state _compare_state = _load_compare_state() if _compare_state.get("summary", {}).get("in_sync") is not None: