From 8ff72d9517132fe82c6e2d1dc8fc56f7cab4b6a0 Mon Sep 17 00:00:00 2001 From: Erovia Date: Sun, 27 Oct 2019 19:38:17 +0100 Subject: Fix merging community and base keymaps --- lib/python/qmk/keymap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/qmk') 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) -- cgit v1.2.3