Browse Source

fix printing of unicode values

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

4
plugins/labels.py

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

Loading…
Cancel
Save