diff options
author | QMK Bot <hello@qmk.fm> | 2022-06-25 19:41:30 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-06-25 19:41:30 +0000 |
commit | 99614bd89ac3e0c477b04f0973c2802916fd3c73 (patch) | |
tree | fdabb54a7ae6c26ac32e5db269ed77871dd9955f /lib | |
parent | e30cd0fa16dd8041184bd9e909de05454b10b4fd (diff) | |
parent | e13bb58c40c2c4473be3fefe144b5b7144ebbb5d (diff) | |
download | qmk_firmware-99614bd89ac3e0c477b04f0973c2802916fd3c73.tar.gz qmk_firmware-99614bd89ac3e0c477b04f0973c2802916fd3c73.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/qmk/keyboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/keyboard.py b/lib/python/qmk/keyboard.py index e69f63aebe..686d4fc403 100644 --- a/lib/python/qmk/keyboard.py +++ b/lib/python/qmk/keyboard.py @@ -103,7 +103,7 @@ def list_keyboards(): """ # We avoid pathlib here because this is performance critical code. kb_wildcard = os.path.join(base_path, "**", "rules.mk") - paths = [path for path in glob(kb_wildcard, recursive=True) if 'keymaps' not in path] + paths = [path for path in glob(kb_wildcard, recursive=True) if os.path.sep + 'keymaps' + os.path.sep not in path] return sorted(set(map(resolve_keyboard, map(_find_name, paths)))) |