summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-27 03:57:37 +0100
committerGitHub <noreply@github.com>2023-09-27 03:57:37 +0100
commit4e86dca49d5b86cf47d6b43172f0d4b17f15cd3a (patch)
tree413a27e82f40a828b3b14385c063320c75458d00 /lib
parent32de27bb20071e4e8614b0fd1f2d289e016ca5a1 (diff)
Fix parsing/validation for 21939 (#22148)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/info.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 9c8521a2a3..4806add67a 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -520,6 +520,8 @@ def _config_to_json(key_type, config_value):
return list(map(str.strip, config_value.split(',')))
elif key_type == 'bool':
+ if isinstance(config_value, bool):
+ return config_value
return config_value in true_values
elif key_type == 'hex':