text-ify config warning message (#63349)
This commit is contained in:
parent
add74fd24b
commit
b20a0f4831
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class ConfigManager(object):
|
|||
try:
|
||||
temp_value = container.get(name, None)
|
||||
except UnicodeEncodeError:
|
||||
self.WARNINGS.add('value for config entry {0} contains invalid characters, ignoring...'.format(to_native(name)))
|
||||
self.WARNINGS.add(u'value for config entry {0} contains invalid characters, ignoring...'.format(to_text(name)))
|
||||
continue
|
||||
if temp_value is not None: # only set if env var is defined
|
||||
value = temp_value
|
||||
|
|
Loading…
Reference in a new issue