Use warning instead of warn

pull/144/head
Sheng 2020-03-22 17:02:04 +08:00
parent 5f4978a994
commit 815783d6b0
1 changed files with 1 additions and 1 deletions

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):