fix printing of unicode values

This commit is contained in:
ThomasV 2014-09-07 23:04:04 +02:00
parent 3948ef64fa
commit 1886da7cde
1 changed files with 2 additions and 2 deletions

View File

@ -185,12 +185,12 @@ class Plugin(BasePlugin):
try:
encoded_key = self.encode(key)
except:
print_error('cannot encode', key)
print_error('cannot encode', repr(key))
continue
try:
encoded_value = self.encode(value)
except:
print_error('cannot encode', value)
print_error('cannot encode', repr(value))
continue
bundle["labels"][encoded_key] = encoded_value