mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
fix migration of media from old location
This commit is contained in:
parent
4908c3f268
commit
cbbd823448
1 changed files with 1 additions and 1 deletions
|
@ -2965,7 +2965,7 @@ to work with this version of Anki."""))
|
||||||
# check if they were using plugin
|
# check if they were using plugin
|
||||||
if not prev:
|
if not prev:
|
||||||
p = self.dropboxFolder()
|
p = self.dropboxFolder()
|
||||||
p = p.replace("/Anki", "").replace("\\Anki", "")
|
p = os.path.join(p, "Public")
|
||||||
deck.mediaPrefix = p
|
deck.mediaPrefix = p
|
||||||
migrateFrom = deck.mediaDir()
|
migrateFrom = deck.mediaDir()
|
||||||
if not migrateFrom:
|
if not migrateFrom:
|
||||||
|
|
Loading…
Reference in a new issue