Adhésions glissantes : bugfixes.

This commit is contained in:
Pierre-Elliott Bécue 2014-08-17 00:26:24 +02:00
parent 150a270bbd
commit 9872e0bcf0
2 changed files with 5 additions and 2 deletions

View file

@ -592,7 +592,7 @@ def adher_details(adher) :
# Paiement
if adher.connexion() > time():
f += coul(u"Connexion jusqu'au %s" % strftime("%d/%m/%Y %H:%M:%S", localtime(adher.adhesion())), "vert")
f += coul(u"Connexion jusqu'au %s" % strftime("%d/%m/%Y %H:%M:%S", localtime(adher.connexion())), "vert")
if adher.adhesion() < adher.connexion():
f += coul(u"(Théoriquement %s, sous réserve de réadhésion)" % (strftime("%d/%m/%Y %H:%M:%S", localtime(adher.connexion())),), "rouge")
f += u'\n'