summaryrefslogtreecommitdiff
path: root/examples/send_client.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/send_client.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/send_client.py')
-rwxr-xr-xexamples/send_client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/send_client.py b/examples/send_client.py
index a3b11707..6e3e5865 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -58,9 +58,7 @@ class SendMsgBot(slixmpp.ClientXMPP):
mbody=self.msg,
mtype='chat')
- # Using wait=True ensures that the send queue will be
- # emptied before ending the session.
- self.disconnect(wait=True)
+ self.disconnect()
if __name__ == '__main__':