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 /lib | |
| parent | d52cd8886c2b3d201c8cdb0bf1a45ba98e4d9cf0 (diff) | |
| download | qmk_firmware-4667bc554e8af8f5b1fe0f1931209f936812e44f.tar.gz qmk_firmware-4667bc554e8af8f5b1fe0f1931209f936812e44f.zip | |
Fixed OS detection such that OSX doesn't take over the world (#8248)
Diffstat (limited to 'lib')
| -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 577588492..41db41184 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' or 'macos' in OS: | 173 | if 'darwin' in OS 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: |
