Rearranging code: re-introduce old script names after file renaming, for compatibility

rebase020124
Ben 6 months ago
parent e206fa903d
commit 2d96e0d41a
  1. 3
      led-badge-11x44.py
  2. 1
      led-badge-12x48.py
  3. 1
      lednamebadge.py

@ -0,0 +1,3 @@
import lednamebadge
lednamebadge.main()

@ -0,0 +1 @@
led-badge-11x44.py

@ -402,6 +402,7 @@ class LedNameBadge:
try:
if sys.version_info[0] < 3:
print("Preferring Pyusb over Pyhidapi with Python 2.x")
raise Exception("Prefer usb.core with python-2.x because of https://github.com/jnweiger/led-badge-ls32/issues/9")
import pyhidapi
pyhidapi.hid_init()

Loading…
Cancel
Save