From 815783d6b0ed45eb27440405f015e11167393115 Mon Sep 17 00:00:00 2001 From: Sheng Date: Sun, 22 Mar 2020 17:02:04 +0800 Subject: [PATCH] Use warning instead of warn --- webssh/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webssh/handler.py b/webssh/handler.py index 0b1f2f7..74c4bb7 100644 --- 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):