fix importing of latex cache files

This commit is contained in:
Damien Elmes 2012-12-20 20:53:00 +09:00
parent c36cc72cb2
commit 6e52331699

View file

@ -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):