diff options
author | Joel Challis <git@zvecr.com> | 2023-09-27 03:57:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 03:57:37 +0100 |
commit | 4e86dca49d5b86cf47d6b43172f0d4b17f15cd3a (patch) | |
tree | 413a27e82f40a828b3b14385c063320c75458d00 /lib | |
parent | 32de27bb20071e4e8614b0fd1f2d289e016ca5a1 (diff) |
Fix parsing/validation for 21939 (#22148)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/qmk/info.py | 2 |
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': |