diff src/tools/xml_tools.py @ 1499:adc72c39f032

tools (xml_tools): fixes JidElement.__init__
author souliane <souliane@mailoo.org>
date Wed, 26 Aug 2015 12:23:55 +0200
parents 55cff13b1f10
children c7c872a40e56
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Fri Aug 21 19:02:11 2015 +0200
+++ b/src/tools/xml_tools.py	Wed Aug 26 12:23:55 2015 +0200
@@ -477,7 +477,7 @@
         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: