diff --git a/api/ble.py b/api/ble.py index f141309..a97b45e 100644 --- a/api/ble.py +++ b/api/ble.py @@ -296,8 +296,8 @@ def test(test_count = 0, bt_usb_id = None) -> None: print("Done") prev_list_snapshot = None print("Just before the loop") - try: - while not test_result: + while not test_result: + try: # Check if the failed list has been the same for 5 loops print("Check if the failed list has been the same for 5 loops") if prev_list_snapshot is not None and passed_list == prev_list_snapshot: