16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 12:19:18 +02:00

Logging of disabled python module.

This commit is contained in:
stele
2020-07-12 16:22:17 +02:00
parent 3ea0d5b074
commit 532d5f8b69

View File

@@ -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 ) {