diff options
author | Ayman Bagabas <ayman.bagabas@gmail.com> | 2019-10-01 20:56:16 -0400 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-10-03 10:27:20 -0700 |
commit | 9067dc817aefb7fe43d23a995604555642c6c897 (patch) | |
tree | 9bc96c17e42cd60695988fc7d022ebbb6aff133d /keyboards/whitefox | |
parent | afb93b7f481a46e3980905e635d5a1d45a0ad678 (diff) |
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'
Diffstat (limited to 'keyboards/whitefox')
0 files changed, 0 insertions, 0 deletions