Closed cmpadden closed 5 years ago
Describe the bug
subprocess.check_output returns bytes on Python 3, and a string on Python 2. Extracting the Chip ID was failing, as it could not parse the bytes.
subprocess.check_output
To Reproduce
Run the upload.py script using Python 3.
upload.py
python3 bin/upload.py --device /dev/tty.usbserial-1410
Expected behavior
Shouldn't throw an exception.
Desktop (please complete the following information):
Resolved in #31.
Describe the bug
subprocess.check_output
returns bytes on Python 3, and a string on Python 2. Extracting the Chip ID was failing, as it could not parse the bytes.To Reproduce
Run the
upload.py
script using Python 3.Expected behavior
Shouldn't throw an exception.
Desktop (please complete the following information):