Archived
Update makeIcs.py
This commit is contained in:
1 parent
c5743be601
commit
62fc27f7b8
1 file changed
+1
-3
+1
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user