tools (xml_tools): fixes JidElement.__init__
This commit is contained in:
parent
a7535449b4
commit
822798d965
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ class JidElement(Element):
|
|||
assert isinstance(parent, JidsListWidget)
|
||||
super(JidElement, self).__init__(parent.xmlui, parent)
|
||||
if isinstance(jid_, jid.JID):
|
||||
value = jid.full
|
||||
value = jid_.full()
|
||||
elif isinstance(jid_, basestring):
|
||||
value = unicode(jid_)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue