From 7135ff50d22cd6ec3b7eaf02a36f2836c96f755f Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 2 May 2016 00:35:52 +0200 Subject: [PATCH] Allow to create large zip files. --- sigal/gallery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigal/gallery.py b/sigal/gallery.py index 90b22c8..9b65e25 100644 --- a/sigal/gallery.py +++ b/sigal/gallery.py @@ -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')