From 41991b5982e6cfc9015eaf00663348ca6d4d3b2d Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 16 Jan 2013 23:06:13 -0800 Subject: Fix logging for vcard lookup failure. --- sleekxmpp/plugins/xep_0153/vcard_avatar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins') 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() -- cgit v1.2.3