sde1000 / python-dali

Library for controlling DALI lighting systems
Other
150 stars 73 forks source link

Fix unpacking seqnum in tridonic async send #50

Closed jjonek closed 5 years ago

jjonek commented 5 years ago

Using subscript notation on struct seems to return the byte value as an int on python 3, causing struct.unpack to raise. Switching to unpack_from should preserve backwards compatibility.

Closes #49