mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't overcount learning reps by 1
This commit is contained in:
parent
41636f41f8
commit
e7101faff7
1 changed files with 1 additions and 0 deletions
|
@ -348,6 +348,7 @@ limit %d""" % (self._deckLimit(), self.reportLimit), lim=self.dayCutoff)
|
|||
if self._lrnQueue[0][0] < cutoff:
|
||||
id = heappop(self._lrnQueue)[1]
|
||||
self.lrnCount -= 1
|
||||
self.lrnRepCount -= 1
|
||||
return id
|
||||
|
||||
def _answerLrnCard(self, card, ease):
|
||||
|
|
Loading…
Reference in a new issue