diff --git a/gracedb/api/v1/events/views.py b/gracedb/api/v1/events/views.py index fbb41cde976930a3a0091152f5cc2f7ca291d5d7..42f98171f3562c5e4051f30e33258f5cc9d0a3f4 100644 --- a/gracedb/api/v1/events/views.py +++ b/gracedb/api/v1/events/views.py @@ -407,7 +407,7 @@ class EventList(InheritPermissionsAPIView): d = {'error': 'Too many events.' } return Response(d, status=status.HTTP_400_BAD_REQUEST) - last = max(0, (numRows / count)) * count + last = max(0, (numRows // count)) * count rv = {} links = {} rv['links'] = links