Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid calling salome_init method for the python light modules.
[modules/gui.git]
/
src
/
SUITApp
/
SUITApp_init_python.cxx
diff --git
a/src/SUITApp/SUITApp_init_python.cxx
b/src/SUITApp/SUITApp_init_python.cxx
index 1b51a036b470601ac3605433141db97c4752fe19..504bd14d8fcee83c2ec1080baa617f3010cd8a37 100644
(file)
--- 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;
}