]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
demande de Raphael Perony
authorpascale.noyret <pascale.noyret@edf.fr>
Tue, 21 Jul 2020 13:17:09 +0000 (15:17 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Tue, 21 Jul 2020 13:17:09 +0000 (15:17 +0200)
InterfaceQT4/readercata.py
Telemac/qtEficas_Telemac.py

index f788c8b6e386a316563dc371528dd55d23215aec..2fd60cb78363669409e0948b009adaecc455cde3 100644 (file)
@@ -305,7 +305,7 @@ class ReaderCata (ReaderCataCommun):
       if self.appliEficas.maConfiguration.ficIcones==None : return
       try:
         ficIcones=self.appliEficas.maConfiguration.ficIcones
-        fichierIcones = __import__(ficIcones, globals(), locals(), [], -1)
+        fichierIcones = __import__(ficIcones, globals(), locals(), [], 0)
         self.appliEficas.maConfiguration.dicoIcones=fichierIcones.dicoDesIcones.dicoIcones
         self.appliEficas.maConfiguration.dicoImages=fichierIcones.dicoDesIcones.dicoImages
       except:
index a8e58e028f3f303ff0a00ac1193a0840528a95ec..c140518c0023ed732280834d8c69acb540873f41 100755 (executable)
@@ -30,4 +30,4 @@ sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..'))
 
 import prefs
 from InterfaceQT4 import eficas_go
-eficas_go.lance_eficas(code=prefs.code)
+eficas_go.lanceEficas(code=prefs.code)