Fix deprecated log

This commit is contained in:
VirtuBox
2019-12-04 03:42:35 +01:00
parent 5aa3de8c8b
commit e01ecaa782

View File

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