mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
since interval is updated first, use lastInterval in cardIsBeingLearnt()
This commit is contained in:
parent
9b61d86096
commit
8378f71c73
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue