mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 16:59:17 +02:00
Logging of disabled python module.
This commit is contained in:
@@ -198,8 +198,10 @@ auto python_taskqueue::init() -> bool {
|
||||
|
||||
// release the lock, save the state for future use
|
||||
m_mainthread = PyEval_SaveThread();
|
||||
|
||||
WriteLog( "Python Interpreter: setup complete" );
|
||||
if( Global.python_enabled == true )
|
||||
WriteLog( "Python Interpreter: setup complete" );
|
||||
else
|
||||
WriteLog( "Python module disabled" );
|
||||
|
||||
// init workers
|
||||
for( auto &worker : m_workers ) {
|
||||
|
||||
Reference in New Issue
Block a user