Skip to content

Commit

Permalink
update term
Browse files Browse the repository at this point in the history
  • Loading branch information
bachtran02 committed Aug 28, 2024
1 parent 9a2311d commit 152534c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
now = dt.now(timezone.utc)

for course in get_courses():

assignments = get_assignments(course['id'])
filtered = sorted(list(filter(
lambda x:
x['is_submitted'] == False and
x['course_term'] == 'Spring 2024' and
x['course_term'] == 'Fall 2024' and
isinstance(x['due_time'], dt),
assignments)), key=lambda x: x['due_time'])

Expand Down

0 comments on commit 152534c

Please sign in to comment.