mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Do not set basicConfig() but provide a default logger.
This commit is contained in:
@@ -1197,7 +1197,7 @@ bool PythonRunner::initPython(const QString &pythonPath)
|
||||
"sys.excepthook = lambda x, y, z: sys.__excepthook__(x, y, z)\n",
|
||||
mainNamespace);
|
||||
|
||||
mainNamespace["mobase"].attr("LogHandler") = configure_python_logging();
|
||||
configure_python_logging(mainNamespace["mobase"]);
|
||||
|
||||
PyEval_SaveThread();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user