diff --git a/libmat2/office.py b/libmat2/office.py index 0d0c795..5165056 100644 --- a/libmat2/office.py +++ b/libmat2/office.py @@ -6,9 +6,9 @@ import datetime import zipfile from typing import Dict, Set, Pattern try: # protect against DoS - from defusedxml import ElementTree as ET + from defusedxml import ElementTree as ET # type: ignore except ImportError: - import xml.etree.ElementTree as ET + import xml.etree.ElementTree as ET # type: ignore from . import abstract, parser_factory