aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mammoth/docx/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py
index 326c85b..8ecf8c9 100644
--- a/mammoth/docx/__init__.py
+++ b/mammoth/docx/__init__.py
@@ -50,14 +50,14 @@ def _read_comments(zip_file, body_readers):
def _read_document(zip_file, body_readers, notes, comments):
- file_relationships = _try_read_entry_or_default(
+ package_relationships = _try_read_entry_or_default(
zip_file,
"_rels/.rels",
read_relationships_xml_element,
default=Relationships.EMPTY,
)
- document_filename = _find_document_filename(zip_file, file_relationships)
+ document_filename = _find_document_filename(zip_file, package_relationships)
with zip_file.open(document_filename) as document_fileobj:
document_xml = office_xml.read(document_fileobj)