mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
make sure we record the prefix before changing filename
This commit is contained in:
parent
5ac6cc7a36
commit
1772474765
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue