forked from LBRYCommunity/lbry-sdk
allow unicode settings
This commit is contained in:
parent
96104e65ed
commit
d1b23e25d9
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ def _convert_setting(env_val, current_val):
|
|||
return float(env_val)
|
||||
elif current_type is str:
|
||||
return str(env_val)
|
||||
elif current_type is unicode:
|
||||
return unicode(env_val)
|
||||
elif current_type is dict:
|
||||
return dict(env_val)
|
||||
elif current_type is list:
|
||||
|
|
Loading…
Add table
Reference in a new issue