summaryrefslogtreecommitdiffstats
path: root/lib/python
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-23 18:48:22 +0000
committerGitHub <noreply@github.com>2022-11-23 18:48:22 +0000
commitaf6aa225ebfc64caf571601b3e3390614daad54f (patch)
tree8285b6cae1ff28381fe11fb12dcc3c423301066b /lib/python
parentb494bc4459594525a174df0eec1be7372ef9bf42 (diff)
Additional DD backlight config (#19124)
* Additional dd backlight config * Update docs
Diffstat (limited to 'lib/python')
-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 5dc8b9c5fe..51b7fb6421 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -451,7 +451,7 @@ def _config_to_json(key_type, config_value):
if array_type == 'int':
return list(map(int, config_value.split(',')))
else:
- return config_value.split(',')
+ return list(map(str.strip, config_value.split(',')))
elif key_type == 'bool':
return config_value in true_values