diff --git a/lmwsip/__init__.py b/lmwsip/__init__.py index 3ec217a..6dd75e7 100644 --- a/lmwsip/__init__.py +++ b/lmwsip/__init__.py @@ -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. This prevents the 10 minute server timeout""" + ct = time.time() - self._connecttime if ct > self.reconnecttime: self.log.debug("LmwSip.reconnectcheck: reconnect after %i seconds" % ct) #