config test

This commit is contained in:
David 2023-01-03 12:53:08 +01:00
parent 46a95b6793
commit 7be3cefa58

View File

@ -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