From cd981ec56a546a29f30c3cc1ce1f5ef2934bc9cd Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 3 Apr 2021 08:24:09 +1100 Subject: `qmk doctor`: Fix WSL /mnt check (#12466) --- lib/python/qmk/cli/doctor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python') 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 -- cgit v1.2.1