diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index d78cb09..ea304b6 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -188,7 +188,7 @@ def runMain(): if len(sys.argv) >= 3: year = int(sys.argv[2]) else: - if currentDate.month == 1: + if currentDate.month == 1 and mois == 12: year = currentDate.year - 1 else: year = currentDate.year