modification de la boulette dans la routine

This commit is contained in:
Romain Beuque 2014-01-02 00:11:34 +01:00
parent 650c297250
commit c265300548

View File

@ -36,7 +36,7 @@ class CotisationComputes:
@staticmethod
def current_year():
now = datetime.datetime.now()
if now.year > 8:
if now.month > 8:
return now.year + 1
return now.year