From 0828d0f5c7e1f764688d85f07a70e023ebc66c7b Mon Sep 17 00:00:00 2001 From: Zach White Date: Sat, 27 Feb 2021 15:25:41 -0800 Subject: Fix compile errors (#12048) * fix compile errors * fix broken json files --- lib/python/qmk/info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3