update combinedDue attr in cardAnswered(), not just on disk

This commit is contained in:
Damien Elmes 2010-02-22 16:41:20 +09:00
parent 60c76c93ff
commit 220670a048

View file

@ -373,6 +373,7 @@ where factId = :fid and id != :id""", fid=card.factId, id=card.id) or 0
space = space * spaceFactor * 86400.0
space = max(minSpacing, space)
space += time.time()
card.combinedDue = max(card.due, space)
# check what other cards we've spaced
if self.reviewEarly:
extra = ""