summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/info.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index cf5dc6640b..051459698f 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -454,8 +454,9 @@ def _find_all_layouts(info_data, keyboard):
if these_layouts:
layouts.update(these_layouts)
- if these_aliases:
- aliases.update(these_aliases)
+ for alias, alias_text in these_aliases.items():
+ if alias_text in layouts:
+ aliases[alias] = alias_text
return layouts, aliases