summaryrefslogtreecommitdiff
path: root/libmat2
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2')
-rw-r--r--libmat2/office.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmat2/office.py b/libmat2/office.py
index 224067c..29100df 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -7,11 +7,7 @@ import zipfile
7import logging 7import logging
8from typing import Dict, Set, Pattern 8from typing import Dict, Set, Pattern
9 9
10try: # protect against DoS 10import xml.etree.ElementTree as ET # type: ignore
11 from defusedxml import ElementTree as ET # type: ignore
12except ImportError:
13 import xml.etree.ElementTree as ET # type: ignore
14
15 11
16from . import abstract, parser_factory 12from . import abstract, parser_factory
17 13