mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fixed inability to import v1 into v1
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/116
This commit is contained in:
parent
c322f68ab8
commit
00f5d9ff96
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class AnkiPackageImporter(Anki2Importer):
|
|||
|
||||
self.nameToNum[unicodedata.normalize("NFC", v)] = k
|
||||
# run anki2 importer
|
||||
Anki2Importer.run(self)
|
||||
Anki2Importer.run(self, importing_v2=suffix == ".anki21")
|
||||
# import static media
|
||||
for file, c in list(self.nameToNum.items()):
|
||||
if not file.startswith("_") and not file.startswith("latex-"):
|
||||
|
|
Loading…
Reference in a new issue