Commit 444a4705 authored by Florian Fuchs's avatar Florian Fuchs

Fixed comment typo

parent 0b632f9d
......@@ -127,7 +127,7 @@ def paginate(default_count=None):
try:
count = int(request.GET['count'])
page = int(request.GET['page'])
# Wrong parameter types or not GET attributer in GET request.
# Wrong parameter types or no GET attribute in request object.
except (AttributeError, ValueError, TypeError):
return http.bad_request([], b'Invalid parameters')
# No count/page params: Use defaults.
......
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