diff --git a/led-badge-11x44.py b/led-badge-11x44.py new file mode 100644 index 0000000..582349c --- /dev/null +++ b/led-badge-11x44.py @@ -0,0 +1,3 @@ +import lednamebadge + +lednamebadge.main() diff --git a/led-badge-12x48.py b/led-badge-12x48.py new file mode 120000 index 0000000..db1bcd2 --- /dev/null +++ b/led-badge-12x48.py @@ -0,0 +1 @@ +led-badge-11x44.py \ No newline at end of file diff --git a/lednamebadge.py b/lednamebadge.py index d7d5d90..c176410 100755 --- a/lednamebadge.py +++ b/lednamebadge.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()