diff options
author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2020-02-17 12:18:49 +0100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | e28b21794ffeb884cfd15b595c131ca7d24f19f2 (patch) | |
tree | 1cb1e427dbb95b0dd86467fec97672466bb23221 /lib/python/qmk/cli/doctor.py | |
parent | 1b04d564e296543215c80a8c08f49efd7bb46b43 (diff) |
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 41db41184f..577588492d 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -170,7 +170,7 @@ def doctor(cli): # Determine our OS and run platform specific tests OS = platform.platform().lower() # noqa (N806), uppercase name is ok in this instance - if 'darwin' in OS or 'macos' in OS: + if 'darwin' or 'macos' in OS: if not os_test_macos(): ok = False elif 'linux' in OS: |