summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2022-09-12 18:57:58 -0400
committerJoshua Diamond <josh@windowoffire.com>2022-09-12 18:57:58 -0400
commit23e12497b254a697b29bc08407680d444e8f5bd2 (patch)
treeca6f3ac40db19b483d535e1e7d0a1e1bed283097 /lib/python/qmk
parent7c49b8caa989b34886847689d992827eeaa9c895 (diff)
parentb2ad047d7f09be14667927d058b36737d8248994 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk')
-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 637a27b764..b039c2c424 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: