commit 815783d6b0ed45eb27440405f015e11167393115 parent 5f4978a9949e99a3bb180b4d150ec5e480e988d3 Author: Sheng <webmaster0115@gmail.com> Date: Sun, 22 Mar 2020 17:02:04 +0800 Use warning instead of warn Diffstat:
M | webssh/handler.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webssh/handler.py b/webssh/handler.py @@ -438,7 +438,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler): if result: return result - logging.warn('Could not detect the default ecnoding.') + logging.warning('Could not detect the default ecnoding.') return 'utf-8' def ssh_connect(self, args):