qmk_firmware/lib/python/qmk/cli
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
..
json Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
new Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
__init__.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
cformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
compile.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
config.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
doctor.py Fix qmk doctor 'bytes-like object is required' on linux 2019-10-03 10:27:20 -07:00
hello.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pyformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pytest.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00