We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 746d885 commit 2cd7555Copy full SHA for 2cd7555
comiclib/utils.py
@@ -92,6 +92,10 @@ def __init__(self, file):
92
self.file = Path(file)
93
if self.file.suffix.lower() == '.zip':
94
self.zipfile = ZipFile(file)
95
+ # Fix handling of duplicate ZipFile entries
96
+ # see https://github.com/python/cpython/issues/117779
97
+ for zinfo in self.zipfile.infolist():
98
+ zinfo._end_offset = None
99
return
100
else:
101
self.zipfile = None
0 commit comments