aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/__init__.py')
-rw-r--r--mammoth/docx/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py
index 6e1013b..bb26826 100644
--- a/mammoth/docx/__init__.py
+++ b/mammoth/docx/__init__.py
@@ -14,5 +14,5 @@ def read(fileobj):
zip_file = zipfile.ZipFile(fileobj)
document_fileobj = zip_file.open("word/document.xml")
document_xml = parse_xml(document_fileobj, _namespaces)
- return Result(read_document_xml_element(document_xml), [])
+ return read_document_xml_element(document_xml)