diff options
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 d7b128aa6..2954a17e0 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
| @@ -134,6 +134,9 @@ def _extract_indicators(info_data, config_c): | |||
| 134 | _log_warning(info_data, f'Indicator {json_key} is specified in both info.json and config.h, the config.h value wins.') | 134 | _log_warning(info_data, f'Indicator {json_key} is specified in both info.json and config.h, the config.h value wins.') |
| 135 | 135 | ||
| 136 | if config_key in config_c: | 136 | if config_key in config_c: |
| 137 | if 'indicators' not in info_data: | ||
| 138 | info_data['indicators'] = {} | ||
| 139 | |||
| 137 | info_data['indicators'][json_key] = config_c.get(config_key) | 140 | info_data['indicators'][json_key] = config_c.get(config_key) |
| 138 | 141 | ||
| 139 | return info_data | 142 | return info_data |
