Skip to content

Commit 73606fc

Browse files
committed
Updated device_information example
1 parent 512f368 commit 73606fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/host_side/device_information.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
infos: List[dai.DeviceInfo] = dai.DeviceBootloader.getAllAvailableDevices()
77

88
if len(infos) == 0:
9-
raise Exception("DepthAI couldn't find any available OAK device!")
9+
print("Couldn't find any available devices.")
10+
exit(-1)
1011

1112

1213
for info in infos:

0 commit comments

Comments
 (0)