From af99a7593a56a46abed09c8a79c6a7bbf5fcee33 Mon Sep 17 00:00:00 2001 From: pingara Date: Sat, 1 May 2021 21:05:00 +0000 Subject: [PATCH] =?UTF-8?q?Se=20agrega=20m=C3=A9todo=20de=20comprensi?= =?UTF-8?q?=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: e8ef9c8d9ea2ca55fc37a56bd9934628757ad6b9e6de73253d941134491ae2c9 --- facho/fe/fe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facho/fe/fe.py b/facho/fe/fe.py index 3a2d4bd..949443e 100644 --- a/facho/fe/fe.py +++ b/facho/fe/fe.py @@ -434,7 +434,7 @@ class DianZIP: MAX_FILES = 50 def __init__(self, file_like): - self.zipfile = zipfile.ZipFile(file_like, mode='w') + self.zipfile = zipfile.ZipFile(file_like, mode='w', compression=zipfile.ZIP_DEFLATED) self.num_files = 0 def add_invoice_xml(self, name, xml_data):