From 358b453906ad405085d708f9300b11a7da90e32a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 19 Jun 2009 08:02:40 +0900 Subject: [PATCH] always update buried/reviewEarly cards --- anki/deck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index 90174c077..d9eec8274 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -847,9 +847,10 @@ group by cardTags.cardId""" % limit) for pri in range(5): cs = [c[0] for c in cards if c[1] == pri] if cs: + # catch review early & buried but not suspended self.s.statement(( "update cards set priority = :pri %s where id in %s " - "and priority != :pri and priority >= 0") % ( + "and priority != :pri and priority >= -2") % ( extra, ids2str(cs)), pri=pri, m=time.time()) cnt = self.s.execute( "update cards set isDue = 0 where type in (0,1,2) and "