fossasia / pslab-python

Python Library for PSLab Desktop: https://pslab.io
GNU General Public License v3.0
1.63k stars 226 forks source link

Fix broken initialization on Python 3 #85

Closed cynddl closed 5 years ago

cynddl commented 5 years ago

Two lines need to be fixed to run pslab on Python 3.6 (macOS):

  1. correctly import _commandsproto in Peripherals.py,
  2. correctly decode bytes in sciencelab.py.