fix regular reviews being treated as relearning in v2 sched

This commit is contained in:
Damien Elmes 2018-05-31 12:44:23 +10:00
parent 9c7c52b99c
commit fd6d02bf6a

View File

@ -821,7 +821,7 @@ select id from cards where did in %s and queue = 2 and due <= ? limit ?)"""
def _answerRevCard(self, card, ease):
delay = 0
early = card.odid and (card.odue > self.today)
type = early and 3 or 2
type = early and 3 or 1
if ease == 1:
delay = self._rescheduleLapse(card)