From 66b767606895a1c277126dd8ed4576c077a0b817 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 6 May 2014 11:34:27 +0400 Subject: [PATCH] Avoid calling salome_init method for the python light modules. --- src/SUITApp/SUITApp_init_python.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SUITApp/SUITApp_init_python.cxx b/src/SUITApp/SUITApp_init_python.cxx index 1b51a036b..504bd14d8 100644 --- a/src/SUITApp/SUITApp_init_python.cxx +++ b/src/SUITApp/SUITApp_init_python.cxx @@ -34,5 +34,6 @@ void SUIT_PYTHON::init_python(int argc, char **argv) Py_Initialize(); // Initialize the interpreter PySys_SetArgv(argc, argv); PyEval_InitThreads(); // Create (and acquire) the interpreter lock - can be called many times + SUIT_PYTHON::initialized = true; } -- 2.39.2