From a68334220a88ef2c74d652338e519f5cbee848ee Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 2 Nov 2010 22:30:57 +0900 Subject: [PATCH] fix suspensions --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index d35bf5bc6..4510b7ac4 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -1199,7 +1199,7 @@ group by cardTags.cardId""" % limit) self.s.statement(""" update cards set type = (case -when successive then -2 when reps then -3 else -1), +when successive then -2 when reps then -3 else -1 end), priority = -3, modified = :t, isDue=0 where type >= 0 and id in %s""" % ids2str(ids), t=time.time()) self.flushMod()