summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/generate/rules_mk.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-10-04 16:26:57 +0000
committerQMK Bot <hello@qmk.fm>2021-10-04 16:26:57 +0000
commit4af4ef3428d8ca39bcd3a29d2bebdf84ebe417ec (patch)
treed7876b042b49f475ad384ee46690095a83998ff8 /lib/python/qmk/cli/generate/rules_mk.py
parent8f3ea25ddac4fcca35e74330938a701e29da3e92 (diff)
parent20f81af98af26d3e15277e402a364a513f986aa6 (diff)
downloadqmk_firmware-4af4ef3428d8ca39bcd3a29d2bebdf84ebe417ec.tar.gz
qmk_firmware-4af4ef3428d8ca39bcd3a29d2bebdf84ebe417ec.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/generate/rules_mk.py')
-rwxr-xr-xlib/python/qmk/cli/generate/rules_mk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/rules_mk.py b/lib/python/qmk/cli/generate/rules_mk.py
index cdf17dfbcb..dcaff29fae 100755
--- a/lib/python/qmk/cli/generate/rules_mk.py
+++ b/lib/python/qmk/cli/generate/rules_mk.py
@@ -26,7 +26,7 @@ def process_mapping_rule(kb_info_json, rules_key, info_dict):
except KeyError:
return None
- if key_type == 'array':
+ if key_type in ['array', 'list']:
return f'{rules_key} ?= {" ".join(rules_value)}'
elif key_type == 'bool':
return f'{rules_key} ?= {"on" if rules_value else "off"}'