diff --git a/PyInt.cpp b/PyInt.cpp index 705f28be..51a9fe7e 100644 --- a/PyInt.cpp +++ b/PyInt.cpp @@ -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 ) {