1
0
Fork 0

Fix merging community and base keymaps

This commit is contained in:
Erovia 2019-10-27 19:38:17 +01:00 committed by skullydazed
parent 4445e0a459
commit 8ff72d9517

View file

@ -149,6 +149,6 @@ def list_keymaps(keyboard_name):
if "LAYOUTS" in rules_mk: if "LAYOUTS" in rules_mk:
for layout in rules_mk["LAYOUTS"]["value"].split(): for layout in rules_mk["LAYOUTS"]["value"].split():
cl_base_path = os.path.join(os.getcwd(), "layouts", "community", layout) + os.path.sep 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) return sorted(names)