Skip to content

Commit

Permalink
fixed inability to import v1 into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Jul 8, 2021
1 parent c322f68 commit 00f5d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/anki/importing/apkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self) -> None: # type: ignore

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-"):
Expand Down

0 comments on commit 00f5d9f

Please sign in to comment.