Skip to content

Commit

Permalink
Minor fixes (#2234)
Browse files Browse the repository at this point in the history
* fix motd

* fix error message for generic usb reader
  • Loading branch information
AlvinSchiller authored Feb 1, 2024
1 parent 85587a6 commit 2bb9367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/system/99-rpi-jukebox-rfid-welcome
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo "
future3
If you want to run a python script from the project
activate the venv before with `source .venv/bin/activate`
activate the venv before with 'source .venv/bin/activate'
See also https://github.com/MiczFlor/RPi-Jukebox-RFID/
blob/future3/main/documentation/developers/python.md
Expand Down
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 2bb9367

Please sign in to comment.