mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-04 12:55:44 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
5835b478f1
@ -105,7 +105,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))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user