IPAL22422 : TC6.3.0:hangup importing python dump

This commit is contained in:
vsr 2011-04-25 15:34:09 +00:00
parent 5bd351dd12
commit 63710c8cea

View File

@ -4073,7 +4073,7 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
// import Python module that manages SMESH plugins (need to be here because SalomePyQt API uses active module)
PyGILState_STATE gstate = PyGILState_Ensure();
PyObject* pluginsmanager=PyImport_ImportModule((char*)"salome_pluginsmanager");
PyObject* pluginsmanager=PyImport_ImportModuleNoBlock((char*)"salome_pluginsmanager");
if(pluginsmanager==NULL)
PyErr_Print();
else