From 0d3f0889c58e10f6c1e56d958e9ad85ea82d5a08 Mon Sep 17 00:00:00 2001 From: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> Date: Mon, 17 Feb 2020 12:18:49 +0100 Subject: [PATCH] Fix os detection in OSX python 3.8 (#8187) * Fix os detection in osx python 3.8 * oops --- 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 0d6c1c5b0..577588492 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' in OS: + if 'darwin' or 'macos' in OS: if not os_test_macos(): ok = False elif 'linux' in OS: