From f156f81a845071e1b65434ca7d5cf25a9fa625e3 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 9 Feb 2011 00:36:16 +0900 Subject: [PATCH] don't add a mature bonus when cramming --- anki/deck.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index c694122ad..370ae6635 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -947,7 +947,9 @@ and type between 1 and 2""", if ease == 1: # 600 is a magic value which means no bonus, and is used to ease # upgrades - if oldState == "mature" and self.delay1 and self.delay1 != 600: + cram = self.scheduler == "cram" + if (not cram and oldState == "mature" + and self.delay1 and self.delay1 != 600): # user wants a bonus of 1+ days. put the failed cards at the # start of the future day, so that failures that day will come # after the waiting cards