mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
set reps on fetch so fetch ahead shuffles properly
This commit is contained in:
parent
8122c42245
commit
2e233fb86f
1 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,7 @@ class Scheduler(object):
|
|||
self.reset()
|
||||
card = self._getCard()
|
||||
if card:
|
||||
self.reps += 1
|
||||
card.startTimer()
|
||||
return card
|
||||
|
||||
|
@ -49,7 +50,6 @@ class Scheduler(object):
|
|||
def answerCard(self, card, ease):
|
||||
assert ease >= 1 and ease <= 4
|
||||
self.col.markReview(card)
|
||||
self.reps += 1
|
||||
card.reps += 1
|
||||
wasNew = card.queue == 0
|
||||
if wasNew:
|
||||
|
|
Loading…
Reference in a new issue