From: rnv Date: Tue, 6 May 2014 07:34:27 +0000 (+0400) Subject: Avoid calling salome_init method for the python light modules. X-Git-Tag: V7_4_0rc1~2^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=66b767606895a1c277126dd8ed4576c077a0b817;p=modules%2Fgui.git Avoid calling salome_init method for the python light modules. --- 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; }