From 11f36f98f232839e413c6a2d0fe1b251e5c50a41 Mon Sep 17 00:00:00 2001 From: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> Date: Wed, 26 Feb 2020 10:12:13 +0100 Subject: [PATCH] Fixed OS detection such that OSX doesn't take over the world (#8248) --- lib/python/qmk/cli/doctor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 577588492db4..41db41184ff5 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: