From 04f40395aabe329ebcefdc16fa1092b11d531b79 Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Fri, 10 Jun 2022 14:31:23 +0200 Subject: [PATCH] correction bug appel sans fichier --- InterfaceQT4/editorSsIhm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2