From a45ad007f9c3e366313b0dc8d5b2b31eb43912d0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 17 Mar 2019 21:27:34 +0000 Subject: Follow w:numStyleLink in w:abstractNum --- mammoth/docx/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth/docx/__init__.py') 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): -- cgit v1.2.3