[IMP] core: capture Warnings though logging

This commit is contained in:
Christophe Simonis
2017-07-27 22:35:47 +02:00
parent 62b8a05368
commit 97bac8d64c
+1
View File
@@ -115,6 +115,7 @@ def init_logger():
_logger_init = True
logging.addLevelName(25, "INFO")
logging.captureWarnings(True)
from tools.translate import resetlocale
resetlocale()