summaryrefslogtreecommitdiff
path: root/examples/download_avatars.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-21 18:42:51 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-28 23:58:46 +0200
commit49beb3ac08e1e5c954c0d21ed1a63060cbab236b (patch)
tree5ab1d5b4fbdc12fccdf3a05b5862c93be60d4460 /examples/download_avatars.py
parente1c944d723baaf562497314737711b8c41f04a7e (diff)
downloadslixmpp-49beb3ac08e1e5c954c0d21ed1a63060cbab236b.tar.gz
slixmpp-49beb3ac08e1e5c954c0d21ed1a63060cbab236b.tar.bz2
slixmpp-49beb3ac08e1e5c954c0d21ed1a63060cbab236b.tar.xz
slixmpp-49beb3ac08e1e5c954c0d21ed1a63060cbab236b.zip
Don’t set the wait time to True instead of leaving its float default, in examples.
Diffstat (limited to 'examples/download_avatars.py')
-rwxr-xr-xexamples/download_avatars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/download_avatars.py b/examples/download_avatars.py
index df722856..c6d8c59c 100755
--- a/examples/download_avatars.py
+++ b/examples/download_avatars.py
@@ -60,7 +60,7 @@ class AvatarDownloader(slixmpp.ClientXMPP):
print('Waiting for presence updates...\n')
self.presences_received.wait(15)
- self.disconnect(wait=True)
+ self.disconnect()
def on_vcard_avatar(self, pres):
print("Received vCard avatar update from %s" % pres['from'].bare)