summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>2020-02-26 10:12:13 +0100
committerDrashna Jael're <drashna@live.com>2020-03-26 00:42:13 -0700
commitf713abefb9408a3243003604b6536537042c592a (patch)
treec23422dcce7cc7e475ae16345d13601956a43595
parent4dc91caf4eb06bc0d17bf189001ce6099afad6ce (diff)
Fixed OS detection such that OSX doesn't take over the world (#8248)
-rwxr-xr-xlib/python/qmk/cli/doctor.py2
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: