diff options
| author | Joel Challis <git@zvecr.com> | 2025-01-01 01:58:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-01 01:58:41 +0000 |
| commit | 53680fa6dafb1a82d7e3fecfdc758570f1d3cd61 (patch) | |
| tree | 5f9f719f83b13c089313357b67919b14f103c3e1 | |
| parent | fe2200f73aa5cd96ab4a1914c0b2ad9178d9862f (diff) | |
Fix g_led_config parse warning (#24769)
| -rw-r--r-- | lib/python/qmk/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index acf8da984f..38ca89697c 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
| @@ -789,8 +789,8 @@ def _extract_led_config(info_data, keyboard): | |||
| 789 | info_data[feature]['layout'] = ret | 789 | info_data[feature]['layout'] = ret |
| 790 | except Exception as e: | 790 | except Exception as e: |
| 791 | _log_warning(info_data, f'led_config: {file.name}: {e}') | 791 | _log_warning(info_data, f'led_config: {file.name}: {e}') |
| 792 | else: | 792 | else: |
| 793 | _log_warning(info_data, 'led_config: matrix size required to parse g_led_config') | 793 | _log_warning(info_data, 'led_config: matrix size required to parse g_led_config') |
| 794 | 794 | ||
| 795 | if info_data[feature].get('layout', None) and not info_data[feature].get('led_count', None): | 795 | if info_data[feature].get('layout', None) and not info_data[feature].get('led_count', None): |
| 796 | info_data[feature]['led_count'] = len(info_data[feature]['layout']) | 796 | info_data[feature]['led_count'] = len(info_data[feature]['layout']) |
