Allow to create large zip files.

This commit is contained in:
Simon Conseil
2016-05-02 00:35:52 +02:00
parent 894f7d6522
commit 7135ff50d2

View File

@@ -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')