mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-08-03 16:00:34 -04:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
@@ -513,7 +513,7 @@ def _config_to_json(key_type, config_value):
|
||||
else:
|
||||
return list(map(str.strip, config_value.split(',')))
|
||||
|
||||
elif key_type == 'bool':
|
||||
elif key_type in ['bool', 'flag']:
|
||||
if isinstance(config_value, bool):
|
||||
return config_value
|
||||
return config_value in true_values
|
||||
|
||||
Reference in New Issue
Block a user