Skip to content

Commit

Permalink
Merge branch 'develop' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Thetwam authored Aug 27, 2024
2 parents a038ea3 + 06f83f1 commit eed8791
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion canvasapi/paginated_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ 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 eed8791

Please sign in to comment.