allow unicode settings

This commit is contained in:
Jack 2016-11-01 12:53:04 -04:00
parent 96104e65ed
commit d1b23e25d9

View file

@ -62,6 +62,8 @@ def _convert_setting(env_val, current_val):
return float(env_val) return float(env_val)
elif current_type is str: elif current_type is str:
return str(env_val) return str(env_val)
elif current_type is unicode:
return unicode(env_val)
elif current_type is dict: elif current_type is dict:
return dict(env_val) return dict(env_val)
elif current_type is list: elif current_type is list: