wipe original media path when exporting

This commit is contained in:
Damien Elmes 2010-11-26 04:15:29 +09:00
parent 1be2176b8e
commit 05baaaaf44

View file

@ -2030,6 +2030,8 @@ window will open."""))
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")
self.deck.updateProgress()
d.s.statement("vacuum")
self.deck.updateProgress()