diff options
| author | jvoisin | 2021-03-07 16:59:18 +0100 |
|---|---|---|
| committer | jvoisin | 2021-03-07 16:59:18 +0100 |
| commit | 497f5f71fcdaf3d08a261d4fd7d6c76a0f36032c (patch) | |
| tree | 2bcabfb906f46412b699ec1348a145cf61834dee /libmat2/epub.py | |
| parent | cd5f2eb71c97aa71d64dbeb7eb608314edb063a6 (diff) | |
Improve epub compatibility
Diffstat (limited to 'libmat2/epub.py')
| -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): | |||
| 22 | self.files_to_omit = set(map(re.compile, { # type: ignore | 22 | self.files_to_omit = set(map(re.compile, { # type: ignore |
| 23 | 'iTunesMetadata.plist', | 23 | 'iTunesMetadata.plist', |
| 24 | 'META-INF/calibre_bookmarks.txt', | 24 | 'META-INF/calibre_bookmarks.txt', |
| 25 | 'OEBPS/package.opf', | ||
| 25 | })) | 26 | })) |
| 26 | self.uniqid = uuid.uuid4() | 27 | self.uniqid = uuid.uuid4() |
| 27 | 28 | ||
