diff options
| author | jvoisin <julien.voisin@dustri.org> | 2021-03-07 16:59:18 +0100 |
|---|---|---|
| committer | jvoisin <julien.voisin@dustri.org> | 2021-03-07 16:59:18 +0100 |
| commit | 497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c (patch) | |
| tree | 2bcabfb906f46412b699ec1348a145cf61834dee | |
| parent | cd5f2eb71c97aa71d64dbeb7eb608314edb063a6 (diff) | |
| download | external_mat2-497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c.tar.gz external_mat2-497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c.tar.bz2 external_mat2-497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c.zip | |
Improve epub compatibility
| -rw-r--r-- | libmat2/epub.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |
