aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/__init__.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-01-27 17:36:28 +0000
committerMichael Williamson <mike@zwobble.org>2018-01-27 17:36:28 +0000
commitf0630b7682f3944f0433652e8c501ef10e73d86c (patch)
treea2fed3f17cc47740666ff9cfe05dbabfbe4d342a /mammoth/docx/__init__.py
parent3cbdaaedc226456a41825db84c303da205951d19 (diff)
Find parts related to main document using main document relationships
Diffstat (limited to 'mammoth/docx/__init__.py')
-rw-r--r--mammoth/docx/__init__.py8
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"),
)