summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0153/vcard_avatar.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-16 23:06:13 -0800
committerLance Stout <lancestout@gmail.com>2013-01-16 23:06:13 -0800
commit41991b5982e6cfc9015eaf00663348ca6d4d3b2d (patch)
treee0933ed10094c002602211b7b55f25babf87a509 /sleekxmpp/plugins/xep_0153/vcard_avatar.py
parent518eee05c224b00cf4622038290f5fb0c0d4e95b (diff)
downloadslixmpp-41991b5982e6cfc9015eaf00663348ca6d4d3b2d.tar.gz
slixmpp-41991b5982e6cfc9015eaf00663348ca6d4d3b2d.tar.bz2
slixmpp-41991b5982e6cfc9015eaf00663348ca6d4d3b2d.tar.xz
slixmpp-41991b5982e6cfc9015eaf00663348ca6d4d3b2d.zip
Fix logging for vcard lookup failure.
Diffstat (limited to 'sleekxmpp/plugins/xep_0153/vcard_avatar.py')
-rw-r--r--sleekxmpp/plugins/xep_0153/vcard_avatar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0153/vcard_avatar.py b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
index 03106247..00122181 100644
--- a/sleekxmpp/plugins/xep_0153/vcard_avatar.py
+++ b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
@@ -87,7 +87,7 @@ class XEP_0153(BasePlugin):
new_hash = hashlib.sha1(data).hexdigest()
self.api['set_hash'](self.xmpp.boundjid, args=new_hash)
except XMPPError:
- log.debug('Could not retrieve vCard for %s' % jid)
+ log.debug('Could not retrieve vCard for %s' % self.xmpp.boundjid.bare)
self._allow_advertising.set()