prise en cmpte changement d'annee en decembre
This commit is contained in:
parent
b986850003
commit
f10e8ae322
@ -187,7 +187,10 @@ def runMain():
|
||||
if len(sys.argv) >= 3:
|
||||
year = int(sys.argv[2])
|
||||
else:
|
||||
year = currentDate.year
|
||||
if currentDate.month == 1:
|
||||
year = currentDate.year - 1
|
||||
else:
|
||||
year = currentDate.year
|
||||
|
||||
stats = Stats(year,mois)
|
||||
res = stats.parse()
|
||||
|
Loading…
Reference in New Issue
Block a user