diff options
author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2020-02-17 12:18:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 12:18:49 +0100 |
commit | 0d3f0889c58e10f6c1e56d958e9ad85ea82d5a08 (patch) | |
tree | 5e0166ab17d1a79405f9ffce340fe48523ee7ac6 /lib/python/qmk/cli/doctor.py | |
parent | 79e6b7866988f3cfc1c5b6746e5f400b50704ce8 (diff) | |
download | qmk_firmware-0d3f0889c58e10f6c1e56d958e9ad85ea82d5a08.tar.gz qmk_firmware-0d3f0889c58e10f6c1e56d958e9ad85ea82d5a08.zip |
Fix os detection in OSX python 3.8 (#8187)
* Fix os detection in osx python 3.8
* oops
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 0d6c1c5b0..577588492 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
@@ -170,7 +170,7 @@ def doctor(cli): | |||
170 | # Determine our OS and run platform specific tests | 170 | # Determine our OS and run platform specific tests |
171 | OS = platform.platform().lower() # noqa (N806), uppercase name is ok in this instance | 171 | OS = platform.platform().lower() # noqa (N806), uppercase name is ok in this instance |
172 | 172 | ||
173 | if 'darwin' in OS: | 173 | if 'darwin' or 'macos' in OS: |
174 | if not os_test_macos(): | 174 | if not os_test_macos(): |
175 | ok = False | 175 | ok = False |
176 | elif 'linux' in OS: | 176 | elif 'linux' in OS: |