diff --git a/anki/importing/anki1.py b/anki/importing/anki1.py index 7f82d7307..d0fb1c6cb 100644 --- a/anki/importing/anki1.py +++ b/anki/importing/anki1.py @@ -26,7 +26,7 @@ class Anki1Importer(Anki2Importer): # merge deck.close() mdir = self.file.replace(".anki", ".media") - self.file = deck.path self.groupPrefix = os.path.basename(self.file).replace(".anki", "") + self.file = deck.path Anki2Importer.run(self, mdir)