Import focus in runner.py
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
37adbf67fc
commit
7686301a70
@@ -24,6 +24,7 @@ import threading
|
||||
import time
|
||||
|
||||
import actions
|
||||
import focus
|
||||
from clicker import Dashboard, DashboardError, NotFoundError
|
||||
|
||||
POLL_SECONDS = 1.0
|
||||
|
||||
Reference in New Issue
Block a user