IPAL22422 : TC6.3.0:hangup importing python dump

This commit is contained in:
vsr 2011-04-25 15:33:10 +00:00
parent 5adc956854
commit ff5d378f86

View File

@ -1223,7 +1223,7 @@ bool GeometryGUI::activateModule( SUIT_Study* study )
// import Python module that manages GEOM 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