From 4a35a848117c4fe646d36419096d099030878469 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Dec 2013 13:28:57 +0000 Subject: Add style_name to Run --- mammoth/docx/document_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth/docx/document_xml.py') diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py index 425ba37..403f880 100644 --- a/mammoth/docx/document_xml.py +++ b/mammoth/docx/document_xml.py @@ -22,7 +22,7 @@ def _create_reader(numbering): @handler("w:r") def run(element): - return documents.Run(_read_xml_elements(element.children)) + return documents.run(_read_xml_elements(element.children)) @handler("w:p") -- cgit v1.2.3