From 9cc6ab96850f934f30b3ef26da69769bb6edd24e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 9 Aug 2012 14:01:41 +0900 Subject: [PATCH] fix iniju's patch --- anki/importing/anki1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/importing/anki1.py b/anki/importing/anki1.py index 1e54e6572..ae2255672 100644 --- a/anki/importing/anki1.py +++ b/anki/importing/anki1.py @@ -28,7 +28,7 @@ class Anki1Importer(Anki2Importer): conf = deck.decks.confForDid(1) # merge deck.close() - mdir = re.sub(r"\.anki$", ".media", self.file) + mdir = re.sub(r"\.anki2$", ".media2", self.file) self.deckPrefix = re.sub(r"\.anki$", "", os.path.basename(self.file)) self.file = deck.path Anki2Importer.run(self, mdir)