From cb1485d18b4353304f20d38009629ce9c00155c6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 23 Jan 2013 15:30:11 +0900 Subject: [PATCH] when reapplying fail mult, ensure minInt (#552) --- anki/sched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sched.py b/anki/sched.py index 4a3c3bcf1..2eb9dd2ed 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -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