summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErovia <erovia@users.noreply.github.com>2019-10-27 19:38:17 +0100
committerskullydazed <skullydazed@users.noreply.github.com>2020-02-15 15:19:03 -0800
commit8ff72d9517132fe82c6e2d1dc8fc56f7cab4b6a0 (patch)
tree45e3c15e733a3fcdc8c86647e6f7cf48776fd67e /lib
parent4445e0a459ce891d6e51a252030f665fea355b41 (diff)
Fix merging community and base keymaps
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/keymap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/keymap.py b/lib/python/qmk/keymap.py
index 6ee60b8be1..1024f8fc6e 100644
--- a/lib/python/qmk/keymap.py
+++ b/lib/python/qmk/keymap.py
@@ -149,6 +149,6 @@ def list_keymaps(keyboard_name):
if "LAYOUTS" in rules_mk:
for layout in rules_mk["LAYOUTS"]["value"].split():
cl_base_path = os.path.join(os.getcwd(), "layouts", "community", layout) + os.path.sep
- names = names + find_keymaps(cl_base_path, revision, community = True)
+ names = names.union(find_keymaps(cl_base_path, revision, community = True))
return sorted(names)