diff options
Diffstat (limited to 'lib/python/qmk/cli/userspace')
| -rw-r--r-- | lib/python/qmk/cli/userspace/doctor.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/userspace/doctor.py b/lib/python/qmk/cli/userspace/doctor.py index 2b7e29aa7e..7c016e5a2f 100644 --- a/lib/python/qmk/cli/userspace/doctor.py +++ b/lib/python/qmk/cli/userspace/doctor.py | |||
| @@ -2,10 +2,12 @@ | |||
| 2 | # SPDX-License-Identifier: GPL-2.0-or-later | 2 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | from milc import cli | 3 | from milc import cli |
| 4 | 4 | ||
| 5 | from qmk.constants import QMK_FIRMWARE | 5 | from qmk.constants import QMK_FIRMWARE, HAS_QMK_USERSPACE |
| 6 | from qmk.cli.doctor.main import userspace_tests | 6 | from qmk.cli.doctor.main import userspace_tests |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | @cli.subcommand('Checks userspace configuration.') | 9 | @cli.subcommand('Checks userspace configuration.') |
| 10 | def userspace_doctor(cli): | 10 | def userspace_doctor(cli): |
| 11 | userspace_tests(QMK_FIRMWARE) | 11 | userspace_tests(QMK_FIRMWARE) |
| 12 | |||
| 13 | return 0 if HAS_QMK_USERSPACE else 1 | ||
