diff options
Diffstat (limited to 'lib/python/qmk/cli/doctor/main.py')
-rwxr-xr-x | lib/python/qmk/cli/doctor/main.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/python/qmk/cli/doctor/main.py b/lib/python/qmk/cli/doctor/main.py index 6a31ccdfd..ed20f46d3 100755 --- a/lib/python/qmk/cli/doctor/main.py +++ b/lib/python/qmk/cli/doctor/main.py | |||
@@ -79,12 +79,13 @@ def doctor(cli): | |||
79 | cli.log.info('CLI version: %s', cli.version) | 79 | cli.log.info('CLI version: %s', cli.version) |
80 | cli.log.info('QMK home: {fg_cyan}%s', QMK_FIRMWARE) | 80 | cli.log.info('QMK home: {fg_cyan}%s', QMK_FIRMWARE) |
81 | 81 | ||
82 | status = os_tests() | 82 | status = os_status = os_tests() |
83 | git_status = git_tests() | ||
83 | 84 | ||
84 | status = git_tests() | 85 | if git_status == CheckStatus.ERROR or (os_status == CheckStatus.OK and git_status == CheckStatus.WARNING): |
86 | status = git_status | ||
85 | 87 | ||
86 | venv = in_virtualenv() | 88 | if in_virtualenv(): |
87 | if venv: | ||
88 | cli.log.info('CLI installed in virtualenv.') | 89 | cli.log.info('CLI installed in virtualenv.') |
89 | 90 | ||
90 | # Make sure the basic CLI tools we need are available and can be executed. | 91 | # Make sure the basic CLI tools we need are available and can be executed. |