aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-10-31 08:21:50 +0000
committerQMK Bot <hello@qmk.fm>2021-10-31 08:21:50 +0000
commitb25218ccc1d8f72c14a0c175a7594822ea0f865e (patch)
treed99b6554fbc37883b40156bb95457229f6ff7da3
parentaab394505f05723c6a3e82bbfeee0b35165de2b2 (diff)
parentfe0acdd2cba8ddd1dfd441f461c80e87a0e5a62d (diff)
downloadqmk_firmware-b25218ccc1d8f72c14a0c175a7594822ea0f865e.tar.gz
qmk_firmware-b25218ccc1d8f72c14a0c175a7594822ea0f865e.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--lib/python/qmk/info.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index c3bbcf3eb..d81f30438 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -99,6 +99,12 @@ def info_json(keyboard):
99 # Check that the reported matrix size is consistent with the actual matrix size 99 # Check that the reported matrix size is consistent with the actual matrix size
100 _check_matrix(info_data) 100 _check_matrix(info_data)
101 101
102 # Remove newline characters from layout labels
103 for layout_name, layout_json in layouts.items():
104 for key in layout_json['layout']:
105 if '\n' in key['label']:
106 key['label'] = key['label'].split('\n')[0]
107
102 return info_data 108 return info_data
103 109
104 110