From 8378f71c7301c5faa11fad928e017bac190e01f9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Feb 2010 05:11:34 +0900 Subject: [PATCH] since interval is updated first, use lastInterval in cardIsBeingLearnt() --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index 9744c7dcb..af958155a 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -984,7 +984,7 @@ and due < :now""" % self.forceIndex("ix_cards_priorityDue"), now=time.time()) def cardIsBeingLearnt(self, card): "True if card should use present intervals." - return card.interval < 7 + return card.lastInterval < 7 def cardIsYoung(self, card): "True if card is not new and not mature."