mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
fix iniju's patch
This commit is contained in:
parent
949660288e
commit
9cc6ab9685
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue