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: