modified threadpool run to use timeout

This commit is contained in:
2019-11-14 14:56:55 +01:00
parent c96cdfc6e1
commit 7224038e64
2 changed files with 9 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ class SMP(TelnetAdapter, RecorderAdapter):
self._login()
def _login(self):
logger.info("Connecting to {} ...".format(self.address))
logger.debug("Connecting to {} ...".format(self.address))
try:
self.tn = telnetlib.Telnet(self.address)
except TimeoutError as e: