From 2f03453104dc13dd3344c73d92a01a2620c23a9c Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Mon, 1 Jun 2015 05:20:24 -0700 Subject: [PATCH] Fixed typo in study --- flashcards/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/models.py b/flashcards/models.py index 883a43b..63a7602 100644 --- a/flashcards/models.py +++ b/flashcards/models.py @@ -207,7 +207,7 @@ class UserFlashcard(Model): else: self.last_response_factor = min(1.3, self.last_response_factor+(0.1-(5-q)*(0.08+(5-q)*0.02))) self.last_interval = int(round(self.last_interval*self.last_response_factor)) - self.next_reviewed = user_flashcard_quiz.when + timedelta(days=self.last_interval) + self.next_review = user_flashcard_quiz.when + timedelta(days=self.last_interval) self.save() class Meta: -- 1.9.1