tfix printing of unicode values - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1886da7cdea8ff151b61307824c2be2f2aac0abd DIR parent 3948ef64fa8e1858b498dacdc76a5eb06fab99f8 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 7 Sep 2014 23:04:04 +0200 fix printing of unicode values Diffstat: M plugins/labels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/plugins/labels.py b/plugins/labels.py t@@ -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