mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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:
|
if self._lrnQueue[0][0] < cutoff:
|
||||||
id = heappop(self._lrnQueue)[1]
|
id = heappop(self._lrnQueue)[1]
|
||||||
self.lrnCount -= 1
|
self.lrnCount -= 1
|
||||||
|
self.lrnRepCount -= 1
|
||||||
return id
|
return id
|
||||||
|
|
||||||
def _answerLrnCard(self, card, ease):
|
def _answerLrnCard(self, card, ease):
|
||||||
|
|
Loading…
Reference in a new issue