Fix deprecated log
This commit is contained in:
@@ -38,7 +38,7 @@ class Log:
|
||||
Logs warning into log file
|
||||
"""
|
||||
print(Log.WARNING + msg + Log.ENDC)
|
||||
self.app.log.warn(Log.BOLD + msg + Log.ENDC)
|
||||
self.app.log.warning(Log.BOLD + msg + Log.ENDC)
|
||||
|
||||
def debug(self, msg):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user