Commit 497f5f71 authored by jvoisin's avatar jvoisin
Browse files

Improve epub compatibility

parent cd5f2eb7
...@@ -22,6 +22,7 @@ class EPUBParser(archive.ZipParser): ...@@ -22,6 +22,7 @@ class EPUBParser(archive.ZipParser):
self.files_to_omit = set(map(re.compile, { # type: ignore self.files_to_omit = set(map(re.compile, { # type: ignore
'iTunesMetadata.plist', 'iTunesMetadata.plist',
'META-INF/calibre_bookmarks.txt', 'META-INF/calibre_bookmarks.txt',
'OEBPS/package.opf',
})) }))
self.uniqid = uuid.uuid4() self.uniqid = uuid.uuid4()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment