mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
rebuild queue after upgrade mostly done
This commit is contained in:
parent
093fb4695b
commit
b6a50db1c2
1 changed files with 1 additions and 1 deletions
|
@ -2862,7 +2862,6 @@ order by priority desc, due desc""")
|
|||
prog = True
|
||||
deck.startProgress()
|
||||
deck.updateProgress(_("Upgrading Deck..."))
|
||||
deck.rebuildQueue()
|
||||
else:
|
||||
prog = False
|
||||
deck.path = path
|
||||
|
@ -3197,6 +3196,7 @@ nextFactor, reps, thinkingTime, yesCount, noCount from reviewHistory""")
|
|||
deck.version = 37
|
||||
deck.s.commit()
|
||||
if deck.version < 38:
|
||||
deck.rebuildQueue()
|
||||
# manually suspend all suspended cards
|
||||
ids = deck.findCards("tag:suspended")
|
||||
if ids:
|
||||
|
|
Loading…
Reference in a new issue