This commit is contained in:
Anthony Geay 2021-12-20 17:30:35 +01:00
parent 5254ada6ef
commit f78cb36df7

View File

@ -94,7 +94,7 @@ def getSpadderCatalogFilename():
def loadSpadderCatalog(): def loadSpadderCatalog():
import salome import salome
salome.salome_init() salome.salome_init()
obj = salome.naming_service.Resolve('Kernel/ModulCatalog') obj = salome.naming_service.Resolve('/Kernel/ModulCatalog')
import SALOME_ModuleCatalog import SALOME_ModuleCatalog
catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog) catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
if not catalog: if not catalog: