From 71de076309db6ee2291c6226e77842d7dfb8649f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 25 Oct 2010 15:38:50 +0900 Subject: [PATCH] no need to adjust types when rebuilding priorities --- anki/deck.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/anki/deck.py b/anki/deck.py index a38511c51..cc41cce62 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -1126,9 +1126,6 @@ group by cardTags.cardId""" % limit) "update cards set priority = :pri %s where id in %s " "and priority != :pri and priority >= -2") % ( extra, ids2str(cs)), pri=pri, m=time.time()) - self.s.execute( - "update cards set type = type - 3 where type in (3,4,5) and " - "priority > 0") self.reset() def updatePriority(self, card):