Use warning instead of warn

This commit is contained in:
Sheng
2020-03-22 17:02:04 +08:00
parent 5f4978a994
commit 815783d6b0
+1 -1
View File
@@ -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):