mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +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
|
// release the lock, save the state for future use
|
||||||
m_mainthread = PyEval_SaveThread();
|
m_mainthread = PyEval_SaveThread();
|
||||||
|
if( Global.python_enabled == true )
|
||||||
WriteLog( "Python Interpreter: setup complete" );
|
WriteLog( "Python Interpreter: setup complete" );
|
||||||
|
else
|
||||||
|
WriteLog( "Python module disabled" );
|
||||||
|
|
||||||
// init workers
|
// init workers
|
||||||
for( auto &worker : m_workers ) {
|
for( auto &worker : m_workers ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user