~ruther/qmk_firmware

4667bc554e8af8f5b1fe0f1931209f936812e44f — Mikkel Jeppesen 5 years ago d52cd88
Fixed OS detection such that OSX doesn't take over the world (#8248)

1 files changed, 1 insertions(+), 1 deletions(-)

M lib/python/qmk/cli/doctor.py
M lib/python/qmk/cli/doctor.py => lib/python/qmk/cli/doctor.py +1 -1
@@ 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: