jp: fixed jid unicode decoding
This commit is contained in:
parent
a0d69ae187
commit
ba2bed39ab
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ class Jp(object):
|
|||
expanded = nodes2jid[_jid]
|
||||
else:
|
||||
expanded = jid
|
||||
return unicode(expanded)
|
||||
return expanded.decode('utf-8')
|
||||
|
||||
def check(jid):
|
||||
if not jid.is_valid:
|
||||
|
|
|
|||
Loading…
Reference in a new issue