arvydas / blinkstick-python

BlinkStick Python interface to control devices connected to the computer
Other
136 stars 53 forks source link

Update .get_string() call to follow latest pyusb convension #35

Closed delmic closed 1 year ago

delmic commented 9 years ago

Since pyusb commit dac78933, the 'length' argument is gone. So we need to remove it also from the calls.

That fixes serial number, description and manufacturer all being reported as \u0409 on Linux. Indirectly, that fixes find_by_serial() on Linux.

pieleric commented 7 years ago

That's exactly what commit a9227d0 does, so you can drop/close this PR. (I'm the author of the PR, but for technical issues I had to change username, which prevents me from closing my own PR!)