From 7686301a701f6fa9fba9b70da010d8eeb878ede0 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sun, 30 Aug 2026 13:45:35 -0500 Subject: [PATCH] Import focus in runner.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DPI awareness call added for Windows went into both entry points, but the import only went into clicker.py, so starting the runner died immediately with NameError: name 'focus' is not defined. py_compile does not catch this — a missing import is a runtime error, not a syntax one — and the tests around it stub the modules rather than starting the process, so nothing exercised the real startup path. Verified this time by booting the runner against a dead port, which reaches the claim loop. Co-Authored-By: Claude Opus 5 --- clicker/runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clicker/runner.py b/clicker/runner.py index d6d9aec..ed37801 100644 --- a/clicker/runner.py +++ b/clicker/runner.py @@ -24,6 +24,7 @@ import threading import time import actions +import focus from clicker import Dashboard, DashboardError, NotFoundError POLL_SECONDS = 1.0