summaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-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 2e5838b..58bfa50 100644
--- a/mammoth/docx/__init__.py
+++ b/mammoth/docx/__init__.py
@@ -33,7 +33,7 @@ def read(fileobj, external_file_access=False):
_read_notes(read_part_with_body, part_paths),
_read_comments(read_part_with_body, part_paths),
]).bind(lambda referents:
- _read_document(zip_file, read_part_with_body, notes=referents[0], comments=referents[1], part_paths=part_paths)
+ _read_document(read_part_with_body, notes=referents[0], comments=referents[1], part_paths=part_paths)
)
@@ -124,7 +124,7 @@ def _read_comments(read_part_with_body, part_paths):
)
-def _read_document(zip_file, read_part_with_body, notes, comments, part_paths):
+def _read_document(read_part_with_body, notes, comments, part_paths):
try:
return read_part_with_body(
part_paths.main_document,