Browse Source

fix line length

pull/270/head
Carlos Martínez 3 years ago
parent
commit
c89fcc1da9
  1. 4
      webssh/handler.py

4
webssh/handler.py

@ -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…
Cancel
Save