summaryrefslogtreecommitdiff
path: root/libmat2/office.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/office.py')
-rw-r--r--libmat2/office.py2
1 files changed, 1 insertions, 1 deletions
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):
307 # This file must be present and valid, 307 # This file must be present and valid,
308 # so we're removing as much as we can. 308 # so we're removing as much as we can.
309 with open(full_path, 'wb') as f: 309 with open(full_path, 'wb') as f:
310 f.write(b'<?xml version="1.0">') 310 f.write(b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>')
311 uid = str(uuid.uuid4()).encode('utf-8') 311 uid = str(uuid.uuid4()).encode('utf-8')
312 f.write(b'<a:tblStyleLst def="{%s}" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"/>' % uid) 312 f.write(b'<a:tblStyleLst def="{%s}" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"/>' % uid)
313 313