diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-19 11:20:28 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-19 11:20:28 +0100 |
| commit | 750a5bd6f103c816281fddb6dca91a55a0617829 (patch) | |
| tree | 4bb2de15dbfc9e976f9405a9a2de1f967dff22c8 /mammoth | |
| parent | a828b007d3fffc17235c120f79d4082047cd5f94 (diff) | |
Disable external file access by default
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/__init__.py b/mammoth/__init__.py index e8d3a83..e20091b 100644 --- a/mammoth/__init__.py +++ b/mammoth/__init__.py @@ -34,7 +34,7 @@ def convert( kwargs["embedded_style_map"] = read_style_map(fileobj) if external_file_access is _undefined: - external_file_access = True + external_file_access = False return options.read_options(kwargs).bind(lambda convert_options: docx.read(fileobj, external_file_access=external_file_access).map(transform_document).bind(lambda document: |
