1
0
Fork 0

Additional DD backlight config (#19124)

* Additional dd backlight config

* Update docs
This commit is contained in:
Joel Challis 2022-11-23 18:48:22 +00:00 committed by GitHub
parent b494bc4459
commit af6aa225eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

View file

@ -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