diff --git a/libmat2/office.py b/libmat2/office.py index f75982c8520a6ee30ba4ce8bcd2684d10bf94fd0..d945f6aec59a3c582e1fc87c47e45777fe37e582 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: