qmk_firmware/lib/python/qmk
Ayman Bagabas 9067dc817a Fix qmk doctor 'bytes-like object is required' on linux
This fixes the following issue related to encoding on linux systems. Add
`universal_newlines=True` to subprocess.

<class 'TypeError'>
☒ a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/milc.py", line 564, in __call__
    return self.__call__()
  File "/usr/local/lib/python3.7/site-packages/milc.py", line 569, in __call__
    return self._entrypoint(self)
  File "$HOME/qmk_firmware/lib/python/qmk/cli/doctor.py", line 56, in doctor
    for line in mm_check.stdout.split('\n'):
TypeError: a bytes-like object is required, not 'str'
2019-10-03 10:27:20 -07:00
..
cli Fix qmk doctor 'bytes-like object is required' on linux 2019-10-03 10:27:20 -07:00
tests Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
errors.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
keymap.py Fix compiling json files. (#6340) 2019-07-15 15:12:35 -07:00
path.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00