mirror of https://github.com/huashengdun/webssh
Use warning instead of warn
parent
5f4978a994
commit
815783d6b0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue