diff --git a/api/ble.py b/api/ble.py index 60ecd01..6302b7b 100644 --- a/api/ble.py +++ b/api/ble.py @@ -319,4 +319,5 @@ if __name__ == "__main__": test(test_count) except Exception as e: print(f"Test failed brah - {e}") - reset_adapter() + if "org.freedesktop.DBus.Error.AccessDenied" in e: + reset_adapter()