From 6e52331699f819fca998547b41506bdb07fce48d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 20 Dec 2012 20:53:00 +0900 Subject: [PATCH] fix importing of latex cache files --- anki/importing/apkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/importing/apkg.py b/anki/importing/apkg.py index 877e8a939..39838614f 100644 --- a/anki/importing/apkg.py +++ b/anki/importing/apkg.py @@ -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):