Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
duck-master committed Jan 6, 2025
1 parent 7ad3dbb commit 3782b2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scrapers/fireroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def get_course_data(courses, course, term):
raw_class.update(parse_schedule(course["schedule"]))
except ValueError as e:
# if we can't parse the schedule, warn
#NOTE: parse_schedule will raise a ValueError
# NOTE: parse_schedule will raise a ValueError
print(f"Can't parse schedule {course_code}: {e!r}")
has_schedule = False
if not has_schedule:
Expand Down
2 changes: 1 addition & 1 deletion scrapers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def find_timeslot(day, slot, pm):
Raises KeyError if no matching timeslot could be found.
"""
time_dict = EVE_TIMES if pm else TIMES
if day not in DAYS or slot not in time_dict: # error handling!
if day not in DAYS or slot not in time_dict: # error handling!
raise ValueError(f"Invalid timeslot {day}, {slot}, {pm}")
return DAYS[day] + time_dict[slot]

Expand Down

0 comments on commit 3782b2f

Please sign in to comment.