Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/6.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
moh-moola committed Jul 23, 2018
2 parents f388bf8 + b051539 commit 1c5d68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molo/surveys/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def possibly_has_next(self):

@cached_property
def last_question(self):
return self.object_list[-1]
return self.object_list[len(self.object_list) - 1]

@cached_property
def last_response(self):
Expand Down

0 comments on commit 1c5d68f

Please sign in to comment.