mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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
|
prog = True
|
||||||
deck.startProgress()
|
deck.startProgress()
|
||||||
deck.updateProgress(_("Upgrading Deck..."))
|
deck.updateProgress(_("Upgrading Deck..."))
|
||||||
deck.rebuildQueue()
|
|
||||||
else:
|
else:
|
||||||
prog = False
|
prog = False
|
||||||
deck.path = path
|
deck.path = path
|
||||||
|
@ -3197,6 +3196,7 @@ nextFactor, reps, thinkingTime, yesCount, noCount from reviewHistory""")
|
||||||
deck.version = 37
|
deck.version = 37
|
||||||
deck.s.commit()
|
deck.s.commit()
|
||||||
if deck.version < 38:
|
if deck.version < 38:
|
||||||
|
deck.rebuildQueue()
|
||||||
# manually suspend all suspended cards
|
# manually suspend all suspended cards
|
||||||
ids = deck.findCards("tag:suspended")
|
ids = deck.findCards("tag:suspended")
|
||||||
if ids:
|
if ids:
|
||||||
|
|
Loading…
Reference in a new issue