webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 3f1e53eaad6d1969b3707e336696f1e01591948f
parent e7bacb7d391f4c92fea934f1ed193f4d34c4bf3f
Author: Sheng <webmaster0115@gmail.com>
Date:   Thu, 21 Feb 2019 23:41:45 +0800

Use cpu_count from tornado.process

Diffstat:
Mwebssh/handler.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webssh/handler.py b/webssh/handler.py @@ -8,10 +8,10 @@ import weakref import paramiko import tornado.web -from multiprocessing import cpu_count from concurrent.futures import ThreadPoolExecutor from tornado.ioloop import IOLoop from tornado.options import options +from tornado.process import cpu_count from webssh.utils import ( is_valid_ip_address, is_valid_port, is_valid_hostname, to_bytes, to_str, to_int, to_ip_address, UnicodeType, is_ip_hostname, is_same_primary_domain