don't try to rebuild old media dir on .anki import

This commit is contained in:
Damien Elmes 2013-01-16 13:11:00 +09:00
parent ef92719eeb
commit 740e2425c7

View File

@ -4383,7 +4383,6 @@ this message. (ERR-0101)""") % {
for m in deck.models:
deck.updateCardsFromModel(m, dirty=False)
# rebuild the media db based on new format
rebuildMediaDir(deck, dirty=False)
deck.version = 61
deck.s.commit()
if deck.version < 62: