where did that come from

This commit is contained in:
Danny Staple
2023-01-19 23:07:32 +00:00
parent ccb94f4091
commit a509fa540c
+1 -1
View File
@@ -8,7 +8,7 @@ async def run():
print(f"Found {len(devices)} devices")
print([device.name for device in devices])
matching_devices = [device for device in devices if device.name==ble_name]
if len(matching_devices) == 0):
if len(matching_devices) == 0:
print(f"Could not find robot at {ble_name}")
return
ble_device_info = matching_devices[0]