From 671c10f4f85f281c0ea979e1cb2e484e293076b3 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 21 Oct 2026 03:39:25 -0700 Subject: [PATCH] accessdenied error still a problem, shortening match --- api/ble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/ble.py b/api/ble.py index ca19d33..6424f40 100644 --- a/api/ble.py +++ b/api/ble.py @@ -105,7 +105,7 @@ async def _discover_device(mac: str) -> Optional[str]: except Exception as e: log.error(f"Dicvoere call failed - {e}") reset_adapter() - if "org.freedesktop.DBus.Error.AccessDenied" in e: + if "AccessDenied" in e: restart_bt_service() return None