diff options
author | Zach White <[email protected]> | 2021-01-02 18:08:17 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-03 13:08:17 +1100 |
commit | 11bd98f684148ed9577b263189121e52027d66d9 (patch) | |
tree | a10d89e82aae10765082c3cc0a6893ac17ca89f7 /lib/python/qmk/info.py | |
parent | f27d8d94489342d4ce7ba9955cd062c725350db9 (diff) | |
download | qmk_firmware-11bd98f684148ed9577b263189121e52027d66d9.tar.gz qmk_firmware-11bd98f684148ed9577b263189121e52027d66d9.zip |
Fix broken keyboards (#11412)
* Fix a couple errors
* add a dependency for the generated headers
Diffstat (limited to 'lib/python/qmk/info.py')
-rw-r--r-- | lib/python/qmk/info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index d7b128aa66..2954a17e09 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -134,6 +134,9 @@ def _extract_indicators(info_data, config_c): _log_warning(info_data, f'Indicator {json_key} is specified in both info.json and config.h, the config.h value wins.') if config_key in config_c: + if 'indicators' not in info_data: + info_data['indicators'] = {} + info_data['indicators'][json_key] = config_c.get(config_key) return info_data |