Skip to content

Commit be7ca90

Browse files
committed
fix
1 parent 304d6ac commit be7ca90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapers/fireroad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def get_course_data(
380380
raw_class.update(parse_schedule(course["schedule"])) # type: ignore
381381
except KeyError:
382382
has_schedule = False
383-
except ValueError as val_err:
383+
except (ValueError, AssertionError) as val_err:
384384
# if we can't parse the schedule, warn
385385
# NOTE: parse_schedule will raise a ValueError
386386
print(f"Can't parse schedule {course_code}: {val_err!r}")

0 commit comments

Comments
 (0)