mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-20 20:56:27 +00:00
Use warning instead of warn
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ class MixinHandler(object):
|
||||
if ip: # does not validate ip and port here
|
||||
return (ip, port)
|
||||
|
||||
logging.warn('Bad nginx configuration.')
|
||||
logging.warning('Bad nginx configuration.')
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user