Fix merging community and base keymaps

This commit is contained in:
Erovia authored and skullydazed committed 2020-02-15 15:19:03 -08:00
1 parent 4445e0a459
commit 8ff72d9517
1 file changed
+1 -1
+1 -1
View File
@@ -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)