changeset 1499:adc72c39f032

tools (xml_tools): fixes JidElement.__init__
author souliane <souliane@mailoo.org>
date Wed, 26 Aug 2015 12:23:55 +0200
parents e3330ce65285
children c7c872a40e56
files src/tools/xml_tools.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: