diff options
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/docx/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py index e98d4b6..75511d2 100644 --- a/mammoth/docx/__init__.py +++ b/mammoth/docx/__init__.py @@ -67,10 +67,10 @@ def _find_part_paths(zip_file): return _PartPaths( main_document=document_filename, comments=find("comments"), - endnotes="word/endnotes.xml", - footnotes="word/footnotes.xml", - numbering="word/numbering.xml", - styles="word/styles.xml", + endnotes=find("endnotes"), + footnotes=find("footnotes"), + numbering=find("numbering"), + styles=find("styles"), ) |
