aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/__init__.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-12-05 18:48:14 +0000
committerMichael Williamson <mike@zwobble.org>2026-12-05 18:48:14 +0000
commitefe3137e0a4cf574d2cf155079615cf238ff723e (patch)
tree3e2cdca09a0402469d9560fd370b17544ae7677e /mammoth/docx/__init__.py
parent659c4ffe6ade2d8132873ae3f3f3a22df38fdb37 (diff)
Remove unused arg
Diffstat (limited to 'mammoth/docx/__init__.py')
-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,