fix bug in reconnect

This commit is contained in:
+++ 2020-08-10 11:58:32 +02:00
parent b767139f86
commit dcf419aa0e

View file

@ -120,7 +120,6 @@ class IdleBot(slixmpp.ClientXMPP):
Deals with alls events for disconnections. Tryes to reconnect. Deals with alls events for disconnections. Tryes to reconnect.
''' '''
logging.warning('Receive a disconnect event: {}'.format(event)) logging.warning('Receive a disconnect event: {}'.format(event))
self.disconnect()
logging.info('Try to reconnect') logging.info('Try to reconnect')
self.connect() self.connect()