mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
wipe original media path when exporting
This commit is contained in:
parent
1be2176b8e
commit
05baaaaf44
1 changed files with 2 additions and 0 deletions
|
@ -2030,6 +2030,8 @@ window will open."""))
|
||||||
d.s.statement("drop index %s" % i)
|
d.s.statement("drop index %s" % i)
|
||||||
# and q/a cache
|
# and q/a cache
|
||||||
d.s.statement("update cards set question = '', answer = ''")
|
d.s.statement("update cards set question = '', answer = ''")
|
||||||
|
# media db
|
||||||
|
d.s.statement("update media set originalPath = description")
|
||||||
self.deck.updateProgress()
|
self.deck.updateProgress()
|
||||||
d.s.statement("vacuum")
|
d.s.statement("vacuum")
|
||||||
self.deck.updateProgress()
|
self.deck.updateProgress()
|
||||||
|
|
Loading…
Reference in a new issue