mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 15:17:12 -05:00
make sure we honor the minimum interval on lapses
This commit is contained in:
parent
7e2c11d45c
commit
1be0f919f4
1 changed files with 1 additions and 1 deletions
|
|
@ -781,7 +781,7 @@ did = ? and queue = 2 and due <= ? limit ?""",
|
|||
return delay
|
||||
|
||||
def _nextLapseIvl(self, card, conf):
|
||||
return int(card.ivl*conf['mult']) + 1
|
||||
return max(conf['minInt'], int(card.ivl*conf['mult']))
|
||||
|
||||
def _rescheduleRev(self, card, ease):
|
||||
# update interval
|
||||
|
|
|
|||
Loading…
Reference in a new issue