make sure to set isDue=0 when answering a card for compatibility reasons

This commit is contained in:
Damien Elmes 2010-10-24 13:01:13 +09:00
parent 4c76d25b05
commit 1d89be0a1e

View file

@ -694,6 +694,7 @@ where id in """
# only update if card was not new
card.lastDue = card.due
card.due = self.nextDue(card, ease, oldState)
card.isDue = 0
card.lastFactor = card.factor
if lastDelay >= 0:
# don't update factor if learning ahead