diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 2a9dcfa3d..e9f7e0114 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -45,7 +45,10 @@ from smeshDC import Mesh, algoCreator for pluginName in os.environ["SMESH_MeshersList"].split(":"): pluginName += "DC" - exec("from %s import *" % pluginName ) + try: + exec("from %s import *" % pluginName ) + except: + continue exec("import %s" % pluginName ) plugin = eval(pluginName)