diff options
Diffstat (limited to 'lib/python/qmk/cli/doctor.py')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 3474422a8..2b6a03e44 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
@@ -50,7 +50,7 @@ def doctor(cli): | |||
50 | elif OS == "Linux": | 50 | elif OS == "Linux": |
51 | cli.log.info("Detected {fg_cyan}Linux.") | 51 | cli.log.info("Detected {fg_cyan}Linux.") |
52 | if shutil.which('systemctl'): | 52 | if shutil.which('systemctl'): |
53 | mm_check = subprocess.run(['systemctl', 'list-unit-files'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=10) | 53 | mm_check = subprocess.run(['systemctl', 'list-unit-files'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=10, universal_newlines=True) |
54 | if mm_check.returncode == 0: | 54 | if mm_check.returncode == 0: |
55 | mm = True | 55 | mm = True |
56 | for line in mm_check.stdout.split('\n'): | 56 | for line in mm_check.stdout.split('\n'): |