fix typo
This commit is contained in:
parent
c1988263d6
commit
c5724d8b36
|
@ -70,6 +70,11 @@ if __name__ == "__main__":
|
||||||
valid, r = course_view.test_course(API_URL, COOKIE_JAR)
|
valid, r = course_view.test_course(API_URL, COOKIE_JAR)
|
||||||
if not valid:
|
if not valid:
|
||||||
print(f'Invalid course: {course_view.course_id} - {r}')
|
print(f'Invalid course: {course_view.course_id} - {r}')
|
||||||
|
|
||||||
|
if r.status_code == 401:
|
||||||
|
print('Got a bad status code:', r.status_code)
|
||||||
|
quit(1)
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
course_view.assignments = find_course_assignments(course, USER_ID)
|
course_view.assignments = find_course_assignments(course, USER_ID)
|
||||||
|
|
|
@ -4,4 +4,4 @@ canvasapi==3.2.0
|
||||||
jsonpickle==3.0.2
|
jsonpickle==3.0.2
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
tqdm==4.66.1
|
tqdm==4.66.1
|
||||||
python-dateutil==-2.8.2
|
python-dateutil==2.8.2
|
Loading…
Reference in New Issue