mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
Fixed OS detection such that OSX doesn't take over the world (#8248)
This commit is contained in:
parent
d52cd8886c
commit
4667bc554e
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def doctor(cli):
|
||||||
# Determine our OS and run platform specific tests
|
# Determine our OS and run platform specific tests
|
||||||
OS = platform.platform().lower() # noqa (N806), uppercase name is ok in this instance
|
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():
|
if not os_test_macos():
|
||||||
ok = False
|
ok = False
|
||||||
elif 'linux' in OS:
|
elif 'linux' in OS:
|
||||||
|
|
Loading…
Reference in a new issue