Update ssh_local.py

This commit is contained in:
dami
2025-05-24 01:03:31 +08:00
parent d11dbbccb7
commit b2586adda0
+2 -3
View File
@@ -118,9 +118,8 @@ class ssh_local(object):
self.__ssh = self.connectSsh()
if self.__ssh:
if hasattr(self.__ssh, 'exit_status_ready'):
if self.__ssh.exit_status_ready():
self.__ssh = self.connectSsh()
if self.__ssh.exit_status_ready():
self.__ssh = self.connectSsh()
self.__ssh.send(info)
try: