fix spinner crash (#38612)

ui: keep spinner independent of build artifacts
This commit is contained in:
Daniel Koepping
2026-08-11 20:42:08 -07:00
committed by GitHub
parent 473ab17876
commit f1746f2e2d
+1 -1
View File
@@ -16,7 +16,7 @@ def _get_device() -> DeviceLike:
try:
from openpilot.selfdrive.ui.ui_state import device
return device
except ImportError:
except (ImportError, OSError):
class Device:
awake = True
return Device()