diff options
| author | Michael Williamson <mike@zwobble.org> | 2019-03-17 21:27:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2019-03-17 21:28:06 +0000 |
| commit | a45ad007f9c3e366313b0dc8d5b2b31eb43912d0 (patch) | |
| tree | ad78299162e299dc3a4688f730a2a123e384c4f2 /mammoth/docx/__init__.py | |
| parent | 65834fa39ee1ea77ef5581bc11e4e6046c6499a6 (diff) | |
Follow w:numStyleLink in w:abstractNum
Diffstat (limited to 'mammoth/docx/__init__.py')
| -rw-r--r-- | mammoth/docx/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/__init__.py b/mammoth/docx/__init__.py index 63a634c..fcb5da5 100644 --- a/mammoth/docx/__init__.py +++ b/mammoth/docx/__init__.py @@ -153,7 +153,7 @@ def _part_with_body_reader(document_path, zip_file, part_paths): zip_file, part_paths.numbering, lambda element: read_numbering_xml_element(element, styles=styles), - default=Numbering(abstract_nums={}, nums={}), + default=Numbering.EMPTY, ) def read_part(name, reader, default=_undefined): |
