comptes_inactifs: appel à paiement_ok()
plutôt que de savants calculs
This commit is contained in:
parent
e0ee29e139
commit
7af634e95d
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ comptes_inactifs.py
|
||||||
date = strftime(u'%d/%m/%Y %H:%M', localtime(date))
|
date = strftime(u'%d/%m/%Y %H:%M', localtime(date))
|
||||||
i = 0
|
i = 0
|
||||||
# est-ce un membre inscrit ?
|
# est-ce un membre inscrit ?
|
||||||
if ann_scol not in a.paiement(): i += 4
|
if not a.paiement_ok(): i += 4
|
||||||
# a-t-il un .forward ?
|
# a-t-il un .forward ?
|
||||||
if not os.path.isfile(os.path.join(a.home(), '.forward')): i += 2
|
if not os.path.isfile(os.path.join(a.home(), '.forward')): i += 2
|
||||||
# a-il-des mails non lus ?
|
# a-il-des mails non lus ?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue