Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jackit/lib/nrf24.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, index=0):
try:
self.dongle = list(usb.core.find(idVendor=0x1915, idProduct=0x0102, find_all=True))[index]
self.dongle.set_configuration()
except usb.core.USBError as ex:
except (usb.core.NoBackendError, usb.core.USBError) as ex:
raise ex
except:
raise Exception('Cannot find USB dongle.')
Expand Down