diff options
author | Ayman Bagabas <ayman.bagabas@gmail.com> | 2019-10-01 20:56:16 -0400 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-11-04 16:51:03 +0900 |
commit | 74d3820ff496aabc62b606bfc06213ab80afaae2 (patch) | |
tree | 878d00a038900fed5fcade729a663f04bb59f085 /build_full_test.mk | |
parent | 3f2ea83234e2a91bcce4dc88eb3b158d478dc6c2 (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 'build_full_test.mk')
0 files changed, 0 insertions, 0 deletions