From cdce18f5c075eeb67baa5ef131652f0eda90a18f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 15 Nov 2008 04:56:52 +0900 Subject: [PATCH] set new card modulus on new cards at end deck --- anki/deck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anki/deck.py b/anki/deck.py index 46afa5c12..10054e55d 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -403,6 +403,8 @@ strftime("%s", "now")+1 from decks)""")) self.newCardModulus = max(2, self.newCardModulus) else: self.newCardModulus = 0 + else: + self.newCardModulus = 0 # determine starting factor for new cards self.averageFactor = (self.s.scalar( "select avg(factor) from cards where type = 1")