diff options
Diffstat (limited to 'lib/python/qmk/info.py')
-rw-r--r-- | lib/python/qmk/info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 2954a17e0..4611874e8 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py | |||
@@ -345,7 +345,7 @@ def _merge_layouts(info_data, new_info_data): | |||
345 | else: | 345 | else: |
346 | # Pull in layouts that have matrix data | 346 | # Pull in layouts that have matrix data |
347 | missing_matrix = False | 347 | missing_matrix = False |
348 | for key in layout_json['layout']: | 348 | for key in layout_json.get('layout', {}): |
349 | if 'matrix' not in key: | 349 | if 'matrix' not in key: |
350 | missing_matrix = True | 350 | missing_matrix = True |
351 | 351 | ||