mirror of https://github.com/huashengdun/webssh
fix line length
parent
00a4a77243
commit
c89fcc1da9
|
@ -427,7 +427,9 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
|||
|
||||
for command in commands:
|
||||
try:
|
||||
_, stdout, _ = ssh.exec_command(command, get_pty=True, timeout=1)
|
||||
_, stdout, _ = ssh.exec_command(command,
|
||||
get_pty=True,
|
||||
timeout=1)
|
||||
except paramiko.SSHException as exc:
|
||||
logging.info(str(exc))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue