diff options
| author | Zach White <skullydazed@gmail.com> | 2021-06-22 11:50:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-22 19:50:53 +0100 |
| commit | e87d23164522371b0c9560e81f36ed08caadc0ff (patch) | |
| tree | 481bff93f77418ac7603d8ad4af492b4c86a02c2 /lib/python/qmk/cli/doctor/windows.py | |
| parent | d61e5c0027e289ccf48652afa4c442342e7ccf04 (diff) | |
| download | qmk_firmware-e87d23164522371b0c9560e81f36ed08caadc0ff.tar.gz qmk_firmware-e87d23164522371b0c9560e81f36ed08caadc0ff.zip | |
Refactor doctor.py into a directory (#13298)
Diffstat (limited to 'lib/python/qmk/cli/doctor/windows.py')
| -rw-r--r-- | lib/python/qmk/cli/doctor/windows.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/doctor/windows.py b/lib/python/qmk/cli/doctor/windows.py new file mode 100644 index 000000000..381ab36fd --- /dev/null +++ b/lib/python/qmk/cli/doctor/windows.py | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | import platform | ||
| 2 | |||
| 3 | from milc import cli | ||
| 4 | |||
| 5 | from .check import CheckStatus | ||
| 6 | |||
| 7 | |||
| 8 | def os_test_windows(): | ||
| 9 | """Run the Windows specific tests. | ||
| 10 | """ | ||
| 11 | win32_ver = platform.win32_ver() | ||
| 12 | cli.log.info("Detected {fg_cyan}Windows %s (%s){fg_reset}.", win32_ver[0], win32_ver[1]) | ||
| 13 | |||
| 14 | return CheckStatus.OK | ||
