From 2ef6a0b2b61809f229b98336e57f7c92172dce5e Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Fri, 20 Jun 2014 11:31:31 +0300 Subject: [PATCH] when writing zip64 header pack format must be bytes --- zipstream/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipstream/__init__.py b/zipstream/__init__.py index 811e2cf..33dc000 100644 --- a/zipstream/__init__.py +++ b/zipstream/__init__.py @@ -116,7 +116,7 @@ def FileHeader(self, zip64=None): if zip64 is None: zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT if zip64: - fmt = ' ZIP64_LIMIT or compress_size > ZIP64_LIMIT: