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 brandonschlack committed Feb 26, 2020
1 parent 75a3f3d commit c89e3c6
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 c89e3c6

Please sign in to comment.