c0z3n / pySimpleDMX

pysimpledmx is a simple dmx control module in python, for the Enttec DMX USB Pro
59 stars 22 forks source link

Syntax error in error message #17

Open briank-cxc opened 6 years ago

briank-cxc commented 6 years ago

pysimpledmx.py, line 47 should be:

print 'Invalid channel specified: %s' % (chan-1)

Note the parens around chan-1. Without them, the interpreter tries to subtract 1 from the string "Invalid..."

I've tried submitting the changes but am getting a 403 error on push (also: I'm not super familiar with pushing to GitHub repos that I don't own, which may have something to do with that).