summaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-04-03 08:24:09 +1100
committerGitHub <noreply@github.com>2021-04-02 22:24:09 +0100
commitcd981ec56a546a29f30c3cc1ce1f5ef2934bc9cd (patch)
treec75fe00c9114c44fa93e20d86983c72f6a11132a /lib/python
parent12f308748f3dd7ab2a1f3d93f8f207cb51e306a4 (diff)
downloadqmk_firmware-cd981ec56a546a29f30c3cc1ce1f5ef2934bc9cd.tar.gz
qmk_firmware-cd981ec56a546a29f30c3cc1ce1f5ef2934bc9cd.zip
`qmk doctor`: Fix WSL /mnt check (#12466)
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/qmk/cli/doctor.py2
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