Don’t set the wait time to True instead of leaving its float default, in examples.
This commit is contained in:
committed by
Florent Le Coz
parent
e1c944d723
commit
49beb3ac08
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user