mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
only require due to be past cutoff if the card was passed
This commit is contained in:
parent
3a7f343464
commit
919353c57d
1 changed files with 2 additions and 1 deletions
|
@ -784,7 +784,8 @@ where id in """
|
|||
anki.cards.Card.updateStats(card, ease, oldState)
|
||||
# update type & ensure past cutoff
|
||||
card.type = self.cardType(card)
|
||||
card.due = max(card.due, self.dueCutoff+1)
|
||||
if ease != 1:
|
||||
card.due = max(card.due, self.dueCutoff+1)
|
||||
# allow custom schedulers to munge the card
|
||||
if self.answerPreSave:
|
||||
self.answerPreSave(card, ease)
|
||||
|
|
Loading…
Reference in a new issue