diff options
Diffstat (limited to 'lib/python/qmk/cli/doctor.py')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 70f32911a..28d480707 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
@@ -107,9 +107,9 @@ def doctor(cli): | |||
107 | submodules.update() | 107 | submodules.update() |
108 | sub_ok = check_submodules() | 108 | sub_ok = check_submodules() |
109 | 109 | ||
110 | if CheckStatus.ERROR in sub_ok: | 110 | if sub_ok == CheckStatus.ERROR: |
111 | status = CheckStatus.ERROR | 111 | status = CheckStatus.ERROR |
112 | elif CheckStatus.WARNING in sub_ok and status == CheckStatus.OK: | 112 | elif sub_ok == CheckStatus.WARNING and status == CheckStatus.OK: |
113 | status = CheckStatus.WARNING | 113 | status = CheckStatus.WARNING |
114 | 114 | ||
115 | # Report a summary of our findings to the user | 115 | # Report a summary of our findings to the user |