From: PASCALE NOYRET Date: Fri, 10 Jun 2022 12:31:23 +0000 (+0200) Subject: correction bug appel sans fichier X-Git-Tag: merge_uncertainty_odysee_1210~65 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04f40395aabe329ebcefdc16fa1092b11d531b79;p=tools%2Feficas.git correction bug appel sans fichier --- diff --git a/InterfaceQT4/editorSsIhm.py b/InterfaceQT4/editorSsIhm.py index 4e45be11..089d26b9 100755 --- a/InterfaceQT4/editorSsIhm.py +++ b/InterfaceQT4/editorSsIhm.py @@ -175,7 +175,7 @@ class JDCEditorSsIhm : else : print ('run MDM with -x option (MDM for XML)'); exit() else : self.jdc.analyse() - if hasattr(self.monConvert,'traitementApresLoad'): self.monConvert.traitementApresLoad(self.jdc) + if hasattr(self, 'monConvert') and hasattr(self.monConvert,'traitementApresLoad'): self.monConvert.traitementApresLoad(self.jdc) txt_exception = self.jdc.cr.getMessException() if txt_exception : self.jdc = None