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:
|
for command in commands:
|
||||||
try:
|
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:
|
except paramiko.SSHException as exc:
|
||||||
logging.info(str(exc))
|
logging.info(str(exc))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue