diff options
author | Zach White <skullydazed@gmail.com> | 2021-02-27 15:25:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-27 23:25:41 +0000 |
commit | 0828d0f5c7e1f764688d85f07a70e023ebc66c7b (patch) | |
tree | 4e42561d83a98c8a2b961623d87e37b0d8863061 /lib/python/qmk | |
parent | deaabff752dd75e75fc865091a5925bf7a5f3b19 (diff) |
Fix compile errors (#12048)
* fix compile errors
* fix broken json files
Diffstat (limited to 'lib/python/qmk')
-rw-r--r-- | lib/python/qmk/info.py | 5 |
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 |