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