mirror of
https://github.com/openwrt-xiaomi/xmir-patcher.git
synced 2026-09-22 22:57:55 +03:00
gateway: Fix error message into get_telnet
This commit is contained in:
+1
-1
@@ -798,7 +798,7 @@ class Gateway():
|
||||
tn = telnetlib.Telnet(self.ip_addr, timeout=4)
|
||||
except Exception as e:
|
||||
if verbose:
|
||||
die("TELNET not responding (IP: {self.ip_addr})")
|
||||
die(f"TELNET not responding (IP: {self.ip_addr})")
|
||||
return None
|
||||
try:
|
||||
p_login = b'login: '
|
||||
|
||||
Reference in New Issue
Block a user