Skip to content

Commit 69def5e

Browse files
committed
Make CI happy
1 parent f36ad94 commit 69def5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@
8686
def enumerate_hid():
8787
global TRANSPORT, TRANSPORT_ARGS, TRANSPORT_KWARGS, DEBUG_TRANSPORT, DEBUG_TRANSPORT_ARGS, DEBUG_TRANSPORT_KWARGS
8888

89-
devices = HidTransport.enumerate()
89+
try:
90+
devices = HidTransport.enumerate()
91+
except Exception:
92+
print("Error loading HID. HID devices not enumerated.")
93+
devices = []
9094

9195
if len(devices) > 0:
9296
if devices[0][1] != None:

0 commit comments

Comments
 (0)