Skip to content
Snippets Groups Projects
Commit 22dc2356 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Meh

parent f9cfe63d
No related branches found
No related tags found
1 merge request!71Improve a bit ppt support
Pipeline #35611 passed
...@@ -303,7 +303,7 @@ class MSOfficeParser(ZipParser): ...@@ -303,7 +303,7 @@ class MSOfficeParser(ZipParser):
f.write(b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>') 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 xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties">')
f.write(b'</cp:coreProperties>') 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, # This file must be present and valid,
# so we're removing as much as we can. # so we're removing as much as we can.
with open(full_path, 'wb') as f: with open(full_path, 'wb') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment