mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix importing of latex cache files
This commit is contained in:
parent
c36cc72cb2
commit
6e52331699
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class AnkiPackageImporter(Anki2Importer):
|
|||
Anki2Importer.run(self)
|
||||
# import static media
|
||||
for file, c in self.nameToNum.items():
|
||||
if not file.startswith("_"):
|
||||
if not file.startswith("_") and not file.startswith("latex-"):
|
||||
continue
|
||||
path = os.path.join(self.col.media.dir(), file)
|
||||
if not os.path.exists(path):
|
||||
|
|
Loading…
Reference in a new issue