Skip to content

Commit

Permalink
Fixes #663 - New Quizzes URL not considered in paginated_list
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Aug 22, 2024
1 parent 4b4fbd8 commit 2d0997d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canvasapi/paginated_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _get_next_page(self):
else:
next_link = None

regex = r"{}(.*)".format(re.escape(self._requester.base_url))
regex = r"(?:{}|{})(.*)".format(re.escape(self._requester.base_url), re.escape(self._requester.new_quizzes_url))

self._next_url = (
re.search(regex, next_link["url"]).group(1) if next_link else None
Expand Down

0 comments on commit 2d0997d

Please sign in to comment.