mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
unsuspend explicitly suspended cards before packaged deck export
This commit is contained in:
parent
149e3e5b76
commit
1cfef7a295
1 changed files with 3 additions and 0 deletions
|
@ -1885,6 +1885,9 @@ You are currently cramming. Please close this deck first."""))
|
|||
d.syncName = None
|
||||
d.suspended = u""
|
||||
self.deck.updateProgress()
|
||||
# unsuspend cards
|
||||
d.unsuspendCards(d.s.column0("select id from cards where priority = -3"))
|
||||
self.deck.updateProgress()
|
||||
d.updateAllPriorities()
|
||||
d.utcOffset = -1
|
||||
d.flushMod()
|
||||
|
|
Loading…
Reference in a new issue