mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't limit failed cards to 0 when cramming
This commit is contained in:
parent
a18abb0f97
commit
ece9b2eccd
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ order by combinedDue limit %d""" % self.queueLimit, lim=self.dueCutoff)
|
|||
def _getCramCardId(self, check=True):
|
||||
self.checkDailyStats()
|
||||
self.fillQueues()
|
||||
if self.failedSoonCount >= self.failedCardMax:
|
||||
if self.failedCardMax and self.failedSoonCount >= self.failedCardMax:
|
||||
return self.failedQueue[-1][0]
|
||||
# card due for review?
|
||||
if self.revNoSpaced():
|
||||
|
|
Loading…
Reference in a new issue