Salome HOME
Avoid calling salome_init method for the python light modules.
authorrnv <rnv@opencascade.com>
Tue, 6 May 2014 07:34:27 +0000 (11:34 +0400)
committerrnv <rnv@opencascade.com>
Tue, 6 May 2014 07:34:27 +0000 (11:34 +0400)
src/SUITApp/SUITApp_init_python.cxx

index 1b51a036b470601ac3605433141db97c4752fe19..504bd14d8fcee83c2ec1080baa617f3010cd8a37 100644 (file)
@@ -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;
 }