gateway: Fix error message into get_telnet

pull/36/head
remittor 7 months ago
parent fa9d0d5d8b
commit 6500c428ec

@ -798,7 +798,7 @@ class Gateway():
tn = telnetlib.Telnet(self.ip_addr, timeout=4) tn = telnetlib.Telnet(self.ip_addr, timeout=4)
except Exception as e: except Exception as e:
if verbose: if verbose:
die("TELNET not responding (IP: {self.ip_addr})") die(f"TELNET not responding (IP: {self.ip_addr})")
return None return None
try: try:
p_login = b'login: ' p_login = b'login: '

Loading…
Cancel
Save