diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-12-05 18:48:14 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-12-05 18:48:14 +0000 |
| commit | efe3137e0a4cf574d2cf155079615cf238ff723e (patch) | |
| tree | 3e2cdca09a0402469d9560fd370b17544ae7677e /mammoth | |
| parent | 659c4ffe6ade2d8132873ae3f3f3a22df38fdb37 (diff) | |
Remove unused arg
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/docx/__init__.py | 4 |
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, |
