From 081529dc29be53a44318211c1fb7eed899716c9f Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 21 Jul 2020 15:17:09 +0200 Subject: [PATCH] demande de Raphael Perony --- InterfaceQT4/readercata.py | 2 +- Telemac/qtEficas_Telemac.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InterfaceQT4/readercata.py b/InterfaceQT4/readercata.py index f788c8b6..2fd60cb7 100644 --- a/InterfaceQT4/readercata.py +++ b/InterfaceQT4/readercata.py @@ -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: diff --git a/Telemac/qtEficas_Telemac.py b/Telemac/qtEficas_Telemac.py index a8e58e02..c140518c 100755 --- a/Telemac/qtEficas_Telemac.py +++ b/Telemac/qtEficas_Telemac.py @@ -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) -- 2.39.2