summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-09-09 21:22:55 +0100
committerGitHub <noreply@github.com>2022-09-09 21:22:55 +0100
commit725df1278bcb7d4b2c2744fd23a850c186f964b9 (patch)
treee31255b350546904d8049b7c26835fb305af7e55
parent9e242621611ac97a9fe8f12133812019af41e072 (diff)
downloadqmk_firmware-725df1278bcb7d4b2c2744fd23a850c186f964b9.tar.gz
qmk_firmware-725df1278bcb7d4b2c2744fd23a850c186f964b9.zip
Fix '_RIGHT' matrix pins lint error (#18320)
-rw-r--r--lib/python/qmk/info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index c95b55916c..7460d84ad3 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -370,7 +370,7 @@ def _extract_split_right_pins(info_data, config_c):
direct_pins = config_c.get('DIRECT_PINS_RIGHT', '').replace(' ', '')[1:-1]
if row_pins or col_pins or direct_pins:
- if info_data.get('split', {}).get('matrix_pins', {}).get('right') in info_data:
+ if info_data.get('split', {}).get('matrix_pins', {}).get('right', None):
_log_warning(info_data, 'Right hand matrix data is specified in both info.json and config.h, the config.h values win.')
if 'split' not in info_data: