From 1be0f919f41166339275d2ae10f60204cee6f1d8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 26 Aug 2012 15:09:28 +0900 Subject: [PATCH] make sure we honor the minimum interval on lapses --- anki/sched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sched.py b/anki/sched.py index 070a0c5ef..a9af30676 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -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