From 497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 7 Mar 2021 16:59:18 +0100 Subject: [PATCH] Improve epub compatibility --- libmat2/epub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libmat2/epub.py b/libmat2/epub.py index 9db4618..f43667e 100644 --- a/libmat2/epub.py +++ b/libmat2/epub.py @@ -22,6 +22,7 @@ class EPUBParser(archive.ZipParser): self.files_to_omit = set(map(re.compile, { # type: ignore 'iTunesMetadata.plist', 'META-INF/calibre_bookmarks.txt', + 'OEBPS/package.opf', })) self.uniqid = uuid.uuid4()