summaryrefslogtreecommitdiff
path: root/lib/python/qmk/info.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-02-27 23:26:10 +0000
committerQMK Bot <hello@qmk.fm>2021-02-27 23:26:10 +0000
commit605fd0eda849e3303fffb1c79538b5329be0010b (patch)
tree1b76b5d3cb174a0efe2e12dff987306b22988a71 /lib/python/qmk/info.py
parent4db695f9327ccbf4c94dd8bfd0be03ac4f35da66 (diff)
parent0828d0f5c7e1f764688d85f07a70e023ebc66c7b (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/info.py')
-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