Merge pull request #205 from saimn/zipfile
Allow to create large zip files.
This commit is contained in:
@@ -467,7 +467,7 @@ class Album(UnicodeMixin):
|
||||
|
||||
if zip_gallery and len(self) > 0:
|
||||
archive_path = join(self.dst_path, zip_gallery)
|
||||
archive = zipfile.ZipFile(archive_path, 'w')
|
||||
archive = zipfile.ZipFile(archive_path, 'w', allowZip64=True)
|
||||
attr = ('src_path' if self.settings['zip_media_format'] == 'orig'
|
||||
else 'dst_path')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user