diff options
author | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 23:57:57 -0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 23:57:57 -0800 |
commit | 5e736f4b978414c111062ffb220e38eb40765db6 (patch) | |
tree | 9ef6f7c278e102a6ffb0db9ce0015a7919dfa900 /sleekxmpp/plugins/xep_0060.py | |
parent | 23b9930c44608e633437c8ec80ef687dd9c0a8b2 (diff) | |
download | slixmpp-5e736f4b978414c111062ffb220e38eb40765db6.tar.gz slixmpp-5e736f4b978414c111062ffb220e38eb40765db6.tar.bz2 slixmpp-5e736f4b978414c111062ffb220e38eb40765db6.tar.xz slixmpp-5e736f4b978414c111062ffb220e38eb40765db6.zip |
fixed setup.py issue with unicode in 3.x
Diffstat (limited to 'sleekxmpp/plugins/xep_0060.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0060.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0060.py b/sleekxmpp/plugins/xep_0060.py index 837d0ad4..999b8197 100644 --- a/sleekxmpp/plugins/xep_0060.py +++ b/sleekxmpp/plugins/xep_0060.py @@ -63,7 +63,7 @@ class xep_0060(base.base_plugin): iq = self.xmpp.makeIqSet(pubsub) iq.attrib['to'] = jid iq.attrib['from'] = self.xmpp.fulljid - id = iq.get('id') + id = iq['id'] result = self.xmpp.send(iq, "<iq id='%s'/>" % id) if result is False or result is None or result.get('type') == 'error': return False return True |