From 0afec850c0393b8c62087b1ab401f396ea906f4c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 15 Nov 2010 14:29:52 +0900 Subject: [PATCH] on second thought, avoid suspended cards or this will bite us in the future --- anki/deck.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/deck.py b/anki/deck.py index 8ae41e991..92fa9281b 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -358,6 +358,7 @@ type = (case when successive then 1 when reps then 0 else 2 end), relativeDelay = (case when successive then 1 when reps then 0 else 2 end) +where type >= 0 """) # old-style suspended cards self.s.statement(