when reapplying fail mult, ensure minInt (#552)
This commit is contained in:
parent
17b68d5dc0
commit
cb1485d18b
@ -532,7 +532,7 @@ did = ? and queue = 3 and due <= ? limit ?""",
|
|||||||
resched = self._resched(card)
|
resched = self._resched(card)
|
||||||
if 'mult' in conf and resched:
|
if 'mult' in conf and resched:
|
||||||
# review that's lapsed
|
# review that's lapsed
|
||||||
card.ivl = max(1, card.ivl*conf['mult'])
|
card.ivl = max(1, conf['minInt'], card.ivl*conf['mult'])
|
||||||
else:
|
else:
|
||||||
# new card; no ivl adjustment
|
# new card; no ivl adjustment
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user