mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 10:10:33 +05:00
IPAL22422 : TC6.3.0:hangup importing python dump
This commit is contained in:
parent
5bd351dd12
commit
63710c8cea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user