diff options
author | Ryan <fauxpark@gmail.com> | 2021-04-03 08:24:09 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 22:24:09 +0100 |
commit | cd981ec56a546a29f30c3cc1ce1f5ef2934bc9cd (patch) | |
tree | c75fe00c9114c44fa93e20d86983c72f6a11132a /lib/python/qmk/cli | |
parent | 12f308748f3dd7ab2a1f3d93f8f207cb51e306a4 (diff) |
`qmk doctor`: Fix WSL /mnt check (#12466)
Diffstat (limited to 'lib/python/qmk/cli')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 45a53c7d44..4a2e2010f7 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -36,7 +36,7 @@ def os_test_linux(): cli.log.info("Detected {fg_cyan}Linux (WSL){fg_reset}.") # https://github.com/microsoft/WSL/issues/4197 - if QMK_FIRMWARE.startswith("/mnt"): + if QMK_FIRMWARE.as_posix().startswith("/mnt"): cli.log.warning("I/O performance on /mnt may be extremely slow.") return CheckStatus.WARNING |