fix bug in reconnect
This commit is contained in:
parent
b767139f86
commit
dcf419aa0e
1 changed files with 0 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue