From 22dc235643befcc0a6073148e7c555982e6d9717 Mon Sep 17 00:00:00 2001 From: jvoisin <julien.voisin@dustri.org> Date: Sat, 7 Mar 2020 14:17:34 +0100 Subject: [PATCH] Meh --- libmat2/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmat2/office.py b/libmat2/office.py index f75982c..d945f6a 100644 --- a/libmat2/office.py +++ b/libmat2/office.py @@ -303,7 +303,7 @@ class MSOfficeParser(ZipParser): f.write(b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>') f.write(b'<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties">') f.write(b'</cp:coreProperties>') - elif full_path.endswith('/ppt/tableStyles.xml'): + elif full_path.endswith('/ppt/tableStyles.xml'): # pragma: no cover # This file must be present and valid, # so we're removing as much as we can. with open(full_path, 'wb') as f: -- GitLab