X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d91551345b68c2bc7d96f2098691fab28276d6b8..73e3cc6c4b80f1afbfc78fc7ccd6f6cfc90b719c:/apps/catalogue/management/commands/pack.py diff --git a/apps/catalogue/management/commands/pack.py b/apps/catalogue/management/commands/pack.py index 80f612ad3..a300aff0f 100755 --- a/apps/catalogue/management/commands/pack.py +++ b/apps/catalogue/management/commands/pack.py @@ -53,7 +53,7 @@ class Command(BaseCommand): if exclude: books = [book for book in books if book.slug not in exclude.split(',')] - archive = zipfile.ZipFile(path, 'w') + archive = zipfile.ZipFile(path, 'w', zipfile.ZIP_DEFLATED) processed = skipped = 0 for book in books: