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 f0ab404..16b20c9 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -148,7 +148,7 @@ class MSOfficeParser(ZipParser):
148 return False 148 return False
149 xml_data = zin.read('[Content_Types].xml') 149 xml_data = zin.read('[Content_Types].xml')
150 150
151 self.content_types = dict() # type: Dict[str, str] 151 self.content_types: Dict[str, str] = dict()
152 try: 152 try:
153 tree = ET.fromstring(xml_data) 153 tree = ET.fromstring(xml_data)
154 except ET.ParseError: 154 except ET.ParseError: