changeset 965:5b95ce21c2d3

jp: fixed jid unicode decoding
author Goffi <goffi@goffi.org>
date Tue, 01 Apr 2014 21:16:02 +0200
parents e09f624d3aa9
children 9cae72da1b95
files frontends/src/jp/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Tue Apr 01 21:15:35 2014 +0200
+++ b/frontends/src/jp/base.py	Tue Apr 01 21:16:02 2014 +0200
@@ -196,7 +196,7 @@
                 expanded = nodes2jid[_jid]
             else:
                 expanded = jid
-            return unicode(expanded)
+            return expanded.decode('utf-8')
 
         def check(jid):
             if not jid.is_valid: