Commit 64c3fbdb authored by Kevin Lin's avatar Kevin Lin
Browse files

canvas_api.py: Fix pagination with 'link' -> 'Link'

parent 051ecfd6
......@@ -27,7 +27,7 @@ class Canvas(object):
# check for 'Link' header
linkHdr = None
for h in resp.headers.items():
if h[0] == 'link':
if h[0] == 'Link':
linkHdr = h
break
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment