From cbbd823448af677e4b294ef83e935c2d4c66611a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 22 Jan 2011 04:44:14 +0900 Subject: [PATCH] fix migration of media from old location --- ankiqt/ui/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 5f18acecb..12f8d2ae5 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -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: