From 1886da7cdea8ff151b61307824c2be2f2aac0abd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 7 Sep 2014 23:04:04 +0200 Subject: [PATCH] fix printing of unicode values --- plugins/labels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/labels.py b/plugins/labels.py index a040ef0a..7b98f3f6 100644 --- a/plugins/labels.py +++ b/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