diff --git a/api/ble.py b/api/ble.py index 470d6d9..b24c302 100644 --- a/api/ble.py +++ b/api/ble.py @@ -349,7 +349,7 @@ if __name__ == "__main__": check=True, ).stdout.strip() current_usb_id = '' - for usb_id as present_usb_id_output: + for usb_id in present_usb_id_output: if usb_id in bt_usb_ids: current_usb_id = usb_id log.info(f"BLE USB ID Detected: {current_usb_id}")