mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update ssh_local.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user