diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-01 13:43:43 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-01 13:43:43 +0000 |
| commit | b160de0cdd0ec662a64718ab796a51cd12924e13 (patch) | |
| tree | 69e91bfa21bb8ad01b55ccd4849d8b983f5cabd8 /mammoth/docx/__init__.py | |
| parent | 24c6649d0946f2d7bb8157b75caec42b60a2f1e7 (diff) | |
Return result from read_document_xml_element
Diffstat (limited to 'mammoth/docx/__init__.py')
| -rw-r--r-- | mammoth/docx/__init__.py | 2 |
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) |
