From 6f8a5d6a24d2ec6568c7f58ec82e85ac843d996a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 14 Nov 2010 08:11:28 +0900 Subject: [PATCH] fix wrong priority code in rebuildTypes() --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index 60e36c9b4..e7bdcaa86 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -366,7 +366,7 @@ when successive then 1 when reps then 0 else 2 end) """) # old-style suspended cards self.s.statement( - "update cards set type = type - 3 where priority = 0 and type >= 0") + "update cards set type = type - 3 where priority = -3 and type >= 0") def _cardQueue(self, card): return self.cardType(card)