mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
fix wrong priority code in rebuildTypes()
This commit is contained in:
parent
aa753d35a5
commit
6f8a5d6a24
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue