mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
when reapplying fail mult, ensure minInt (#552)
This commit is contained in:
parent
17b68d5dc0
commit
cb1485d18b
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ did = ? and queue = 3 and due <= ? limit ?""",
|
|||
resched = self._resched(card)
|
||||
if 'mult' in conf and resched:
|
||||
# review that's lapsed
|
||||
card.ivl = max(1, card.ivl*conf['mult'])
|
||||
card.ivl = max(1, conf['minInt'], card.ivl*conf['mult'])
|
||||
else:
|
||||
# new card; no ivl adjustment
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue