We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aac1af commit 4277160Copy full SHA for 4277160
course.py
@@ -142,7 +142,7 @@ def get_courses(self, semester: int) -> List:
142
start = re.match(
143
r'^index\s*=(\d+)\*unitCount\+(\d+)$', temp[1].strip())
144
end = re.match(
145
- r'^index\s*=(\d+)\*unitCount\+(\d+)$', temp[3].strip())
+ r'^index\s*=(\d+)\*unitCount\+(\d+)$', temp[-2].strip())
146
start_time = (int(start.group(1)) + 1, int(start.group(2)) + 1)
147
end_time = (int(end.group(1)) + 1, int(end.group(2)) + 1)
148
0 commit comments