Skip to content

Commit

Permalink
fix error message for generic usb reader
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Feb 1, 2024
1 parent 5ca9707 commit 10e6d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def query_customization() -> dict:
print(f" {Colors.lightgreen}ID{Colors.reset}: "
f"{Colors.lightgreen}isKey{Colors.reset}: {Colors.lightcyan}Name{Colors.reset}")
if len(devices) == 0:
logger.error("USB device list is empty. Make sure USB RFID reader is connected. Then re-run register_reader.py")
logger.error("USB device list is empty. Make sure USB RFID reader is connected. Then re-run reader registration")
return {'device_name': '__error_empty_device_list__'}
for idx, (dev, key) in enumerate(zip(devices, devices_is_key)):
print(f" {Colors.lightgreen}{idx:2d}{Colors.reset}:"
Expand Down

0 comments on commit 10e6d5d

Please sign in to comment.