diff --git a/webssh/handler.py b/webssh/handler.py index aac2f6a..043e5be 100644 --- a/webssh/handler.py +++ b/webssh/handler.py @@ -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: