mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
remove mediaURL on deck export
This commit is contained in:
parent
b66eaa8429
commit
31d3f61da2
1 changed files with 3 additions and 2 deletions
|
@ -2080,8 +2080,9 @@ Please give your deck a name:"""))
|
|||
d.s.statement("drop index %s" % i)
|
||||
# and q/a cache
|
||||
d.s.statement("update cards set question = '', answer = ''")
|
||||
# media db
|
||||
d.s.statement("update media set originalPath = description")
|
||||
# media
|
||||
d.s.statement("update media set description = ''")
|
||||
d.s.statement("update deckVars set value = '' where key = 'mediaURL'")
|
||||
self.deck.updateProgress()
|
||||
d.s.statement("vacuum")
|
||||
self.deck.updateProgress()
|
||||
|
|
Loading…
Reference in a new issue