comptes_inactifs: appel à paiement_ok()

plutôt que de savants calculs
This commit is contained in:
Daniel STAN 2014-08-14 22:29:13 +02:00
parent e0ee29e139
commit 7af634e95d

View file

@ -251,7 +251,7 @@ comptes_inactifs.py
date = strftime(u'%d/%m/%Y %H:%M', localtime(date))
i = 0
# 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 ?
if not os.path.isfile(os.path.join(a.home(), '.forward')): i += 2
# a-il-des mails non lus ?