diff options
author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2020-02-26 10:12:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 10:12:13 +0100 |
commit | 4667bc554e8af8f5b1fe0f1931209f936812e44f (patch) | |
tree | fdd269a41514d0503fd44d57cb8b3ea397661924 | |
parent | d52cd8886c2b3d201c8cdb0bf1a45ba98e4d9cf0 (diff) |
Fixed OS detection such that OSX doesn't take over the world (#8248)
-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 577588492d..41db41184f 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' or 'macos' in OS: + if 'darwin' in OS or 'macos' in OS: if not os_test_macos(): ok = False elif 'linux' in OS: |