summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/generate
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-10-04 09:26:19 -0700
committerGitHub <noreply@github.com>2021-10-04 09:26:19 -0700
commit20f81af98af26d3e15277e402a364a513f986aa6 (patch)
treeea48273f683e1c429d234864c359c635c9fbc02d /lib/python/qmk/cli/generate
parentf72b2ad720b5b61a6e49b12a9375b97046ed5d8e (diff)
Allow community layouts to be specified in info.json (#14682)
* move the community layout detection to python * fixup tests
Diffstat (limited to 'lib/python/qmk/cli/generate')
-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"}'