Skip to content

Commit

Permalink
fix index for quizes jayliu50#25 jayliu50#26
Browse files Browse the repository at this point in the history
  • Loading branch information
John Pope committed Dec 13, 2017
1 parent f1f2ab3 commit 8bdbee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get(self):

self.response.out.write(json.dumps(material))
elif self.request.get('unit'):
material = self.get_material(int(self.request.get('unit')) - 1, self.request.get('stage') == 'review')
material = self.get_material(int(self.request.get('unit')), self.request.get('stage') == 'review')
self.response.out.write(material)
elif self.request.get('recent'):
disciple = Disciple.get_current(user)
Expand Down

0 comments on commit 8bdbee5

Please sign in to comment.