Correctie een regel te veel verwijderd in reconnect
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-10-15 19:25:07 +02:00
parent 872f77037b
commit eccd9011a3

View File

@@ -147,6 +147,7 @@ connects to lmw with tcp using the values of the object creation.
After this time a logout is sent and a new connection is created. After this time a logout is sent and a new connection is created.
This prevents the 10 minute server timeout""" This prevents the 10 minute server timeout"""
ct = time.time() - self._connecttime
if ct > self.reconnecttime: if ct > self.reconnecttime:
self.log.debug("LmwSip.reconnectcheck: reconnect after %i seconds" % ct) self.log.debug("LmwSip.reconnectcheck: reconnect after %i seconds" % ct)
# #