[ldap_crans] typo
Ignore-this: 3dab84fcb93cbcaa3ae42264df67c332 darcs-hash:20121122171638-3a55a-2c997c9881e9708a1ff92d848d7247231ac7c92a.gz
This commit is contained in:
parent
5e83e9aebd
commit
548446cabb
1 changed files with 1 additions and 3 deletions
|
@ -1741,9 +1741,7 @@ class BaseProprietaire(BaseClasseCrans):
|
||||||
for h in self.historique()[::-1]:
|
for h in self.historique()[::-1]:
|
||||||
x=re.match("(.*),.* : .*(paiement\+%s|inscription).*" % config.ann_scol,h)
|
x=re.match("(.*),.* : .*(paiement\+%s|inscription).*" % config.ann_scol,h)
|
||||||
if x != None:
|
if x != None:
|
||||||
if (time.time()-time.mktime(time.strptime(x.group(1),'%d/%m/%Y %H:%M')))<=config.sursis_carte:
|
return ((time.time()-time.mktime(time.strptime(x.group(1),'%d/%m/%Y %H:%M')))<=config.sursis_carte)
|
||||||
return True
|
|
||||||
break
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def paiement_ok(self):
|
def paiement_ok(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue