From 2877b9daaf133aa9733f2d5bdaba6581f4b2d686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Thu, 16 May 2013 15:18:58 +0200 Subject: [PATCH] =?UTF-8?q?[objects]=20Erreur=20qui=20s'est=20gliss=C3=A9e?= =?UTF-8?q?=20l=C3=A0=20lors=20du=20passage=20de=20lc=5Fldap=20=C3=A0=20ob?= =?UTF-8?q?jects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- objets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objets.py b/objets.py index fcb5fb3..973d62f 100644 --- a/objets.py +++ b/objets.py @@ -452,7 +452,7 @@ class proprio(CransLdapObject): def sursis_carte(self): for h in self['historique'][::-1]: - x = re.match("(.*),.* : .*(paiement\+%s|inscription).*" % (config.ann_scol, h.value)) + x = re.match("(.*),.* : .*(paiement\+%s|inscription).*" % (config.ann_scol,), h.value) if x != None: return ((time.time()-time.mktime(time.strptime(x.group(1),'%d/%m/%Y %H:%M'))) <= config.sursis_carte) return False