Browse Source

fix printing of unicode values

283
ThomasV 10 years ago
parent
commit
1886da7cde
  1. 4
      plugins/labels.py

4
plugins/labels.py

@ -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

Loading…
Cancel
Save