From a107c643e366fbe2dcedaba0f29282b6d06c7c36 Mon Sep 17 00:00:00 2001 From: Mark Dineen Date: Tue, 28 Sep 2021 17:16:26 -0400 Subject: [PATCH] Update filters.py Adding fix from pypdf2 #88 --- PyPDF2/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyPDF2/filters.py b/PyPDF2/filters.py index 57446f4b0..a204e6a17 100644 --- a/PyPDF2/filters.py +++ b/PyPDF2/filters.py @@ -48,7 +48,7 @@ import zlib def decompress(data): - return zlib.decompress(data) + return zlib.decompressobj().decompress(data) def compress(data): return zlib.compress(data)