From a23dc001cd74866204c868ef1dbf7ef7ca99b5aa Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 7 Mar 2020 14:34:07 +0100 Subject: [PATCH] Improve compatibility with MS Office of cleaned ppt --- libmat2/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmat2/office.py b/libmat2/office.py index d945f6a..7f70b72 100644 --- a/libmat2/office.py +++ b/libmat2/office.py @@ -307,7 +307,7 @@ class MSOfficeParser(ZipParser): # This file must be present and valid, # so we're removing as much as we can. with open(full_path, 'wb') as f: - f.write(b'') + f.write(b'') uid = str(uuid.uuid4()).encode('utf-8') f.write(b'' % uid)