Skip to content

Commit

Permalink
Fixed OS detection such that OSX doesn't take over the world (qmk#8248)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckle29 authored and jakeisnt committed Aug 20, 2020
1 parent 4b1952a commit 644b921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/doctor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 644b921

Please sign in to comment.