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 | |
| parent | deaabff752dd75e75fc865091a5925bf7a5f3b19 (diff) | |
| download | qmk_firmware-0828d0f5c7e1f764688d85f07a70e023ebc66c7b.tar.gz qmk_firmware-0828d0f5c7e1f764688d85f07a70e023ebc66c7b.zip | |
Fix compile errors (#12048)
* fix compile errors
* fix broken json files
Diffstat (limited to 'lib')
| -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 cf5dc6640..051459698 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
| @@ -454,8 +454,9 @@ def _find_all_layouts(info_data, keyboard): | |||
| 454 | if these_layouts: | 454 | if these_layouts: |
| 455 | layouts.update(these_layouts) | 455 | layouts.update(these_layouts) |
| 456 | 456 | ||
| 457 | if these_aliases: | 457 | for alias, alias_text in these_aliases.items(): |
| 458 | aliases.update(these_aliases) | 458 | if alias_text in layouts: |
| 459 | aliases[alias] = alias_text | ||
| 459 | 460 | ||
| 460 | return layouts, aliases | 461 | return layouts, aliases |
| 461 | 462 | ||
