From dabece0e372c9cde2fe36c9583752f89366e37fc Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Mon, 24 Jan 2022 14:51:08 +0100 Subject: [PATCH] bug sur repetable des fact --- Ihm/I_MCLIST.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Ihm/I_MCLIST.py b/Ihm/I_MCLIST.py index 15f59b49..e3a5d296 100644 --- a/Ihm/I_MCLIST.py +++ b/Ihm/I_MCLIST.py @@ -74,12 +74,10 @@ class MCList: #print ('MCList getDicoObjetsCompletsPourTree pour ', self) listeDict=[] nbFactDejaLa=len(self.data) - print ('_______________________________________________________________') - print (self.data) for i in self.data: dico = i.getDicoForFancy() if nbFactDejaLa > i.definition.min : dico['statut']='f' - if nbFactDejaLa < i.definition.max : dico['repetable'] = 1 + if nbFactDejaLa < i.definition.max-1 : dico['repetable'] = 1 else : dico['repetable'] = 0 listeDict.append(dico) return listeDict -- 2.39.2