fix migration of media from old location

This commit is contained in:
Damien Elmes 2011-01-22 04:44:14 +09:00
parent 4908c3f268
commit cbbd823448

View file

@ -2965,7 +2965,7 @@ to work with this version of Anki."""))
# check if they were using plugin
if not prev:
p = self.dropboxFolder()
p = p.replace("/Anki", "").replace("\\Anki", "")
p = os.path.join(p, "Public")
deck.mediaPrefix = p
migrateFrom = deck.mediaDir()
if not migrateFrom: