Show More
@@ -446,7 +446,10 b' def _sanitize_vcs_settings(settings):' | |||||
446 |
|
446 | |||
447 |
|
447 | |||
448 | def _bool_setting(settings, name, default): |
|
448 | def _bool_setting(settings, name, default): | |
449 |
|
|
449 | input = settings.get(name, default) | |
|
450 | if isinstance(input, unicode): | |||
|
451 | input = input.encode('utf8') | |||
|
452 | settings[name] = asbool(input) | |||
450 |
|
453 | |||
451 |
|
454 | |||
452 | def _list_setting(settings, name, default): |
|
455 | def _list_setting(settings, name, default): |
General Comments 0
You need to be logged in to leave comments.
Login now