From dcf419aa0ee15046b51316db1e51e36ffdfca4ea Mon Sep 17 00:00:00 2001 From: +++ Date: Mon, 10 Aug 2020 11:58:32 +0200 Subject: [PATCH] fix bug in reconnect --- idlebot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/idlebot.py b/idlebot.py index cd46cf3..e408b42 100644 --- a/idlebot.py +++ b/idlebot.py @@ -120,7 +120,6 @@ class IdleBot(slixmpp.ClientXMPP): Deals with alls events for disconnections. Tryes to reconnect. ''' logging.warning('Receive a disconnect event: {}'.format(event)) - self.disconnect() logging.info('Try to reconnect') self.connect()