[lc_ldap] typo
This commit is contained in:
parent
2d9cdeaa04
commit
fd97ff0940
1 changed files with 1 additions and 3 deletions
|
@ -505,9 +505,7 @@ class proprio(CransLdapObject):
|
|||
for h in self['historique'][::-1]:
|
||||
x=re.match("(.*),.* : .*(paiement\+%s|inscription).*" % config.ann_scol,h.value)
|
||||
if x != None:
|
||||
if (time.time()-time.mktime(time.strptime(x.group(1),'%d/%m/%Y %H:%M')))<=config.sursis_carte:
|
||||
return True
|
||||
break
|
||||
return ((time.time()-time.mktime(time.strptime(x.group(1),'%d/%m/%Y %H:%M')))<=config.sursis_carte)
|
||||
return False
|
||||
|
||||
def paiement_ok(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue