Update makeIcs.py

This commit is contained in:
Théophyl Hoguet authored and GitHub committed 2024-12-24 15:15:13 +01:00
1 parent c5743be601
commit 62fc27f7b8
1 file changed
+1 -3
+1 -3
View File
@@ -9,9 +9,7 @@ def cal(group: str, args, dir: str, fileName: str):
month = datetime.datetime.now().month
day = datetime.datetime.now().day
semester = False
if month < 7 or (month == 12 and day >= 23):
if month == 12:
year += 1
if month < 7:
semester = True
cal = Calendar()
yearDisplay = str(year) + '-' + str(year + 1)