From f1746f2e2de9c92ec2fc1bccacf6c9c715a66f96 Mon Sep 17 00:00:00 2001 From: Daniel Koepping Date: Tue, 11 Aug 2026 20:42:08 -0700 Subject: [PATCH] fix spinner crash (#38612) ui: keep spinner independent of build artifacts --- openpilot/system/ui/widgets/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpilot/system/ui/widgets/__init__.py b/openpilot/system/ui/widgets/__init__.py index 9904dfde2c..4e13920d60 100644 --- a/openpilot/system/ui/widgets/__init__.py +++ b/openpilot/system/ui/widgets/__init__.py @@ -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()