Skip to content

Commit

Permalink
This small change is needed to make pyxid detect attached StimTracker…
Browse files Browse the repository at this point in the history
… devices when running Python3.
  • Loading branch information
ematsakCedrus committed Aug 31, 2015
1 parent 4243c5c commit c84afe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxid/pyxid_impl.py
Expand Up @@ -404,7 +404,7 @@ def init_device(self):
rb_834_keymap)
else:
raise XidError('Unknown RB Device')
elif product_id == 'S':
elif product_id == b'S':
fw_major = int(self._send_command('_d4', 1))
fw_minor = int(self._send_command('_d5', 1))

Expand Down

2 comments on commit c84afe9

@peircej
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes made last year, especially 08b2e15 made by @kkheller aren't reflected in the pypi repository so if someone does:

pip install pyxid

they get the older buggy version. Could this be updated?
Just needs python setup.py bdist_egg sdist upload

@habboud
Copy link

@habboud habboud commented on c84afe9 Sep 17, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.