Fix error reporting on bad type for config setting

This commit is contained in:
Brian Coca 2018-05-31 14:40:11 -04:00 committed by Brian Coca
parent c1400ce909
commit c86fd6e2df
5 changed files with 28 additions and 17 deletions

View file

@ -185,6 +185,7 @@ for setting in config.data.get_settings():
pass # not a python data structure
except:
pass # not templatable
value = ensure_type(value, setting.name)
value = ensure_type(value, setting.type)
set_constant(setting.name, value)