aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/document_xml.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-01 13:28:57 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-01 13:28:57 +0000
commit4a35a848117c4fe646d36419096d099030878469 (patch)
tree9c83c8b8c0aee665311839477163776250db4b85 /mammoth/docx/document_xml.py
parent8fc128a3e70465b82605b4c0bdb3d1a6ffe87ef6 (diff)
Add style_name to Run
Diffstat (limited to 'mammoth/docx/document_xml.py')
-rw-r--r--mammoth/docx/document_xml.py2
1 files changed, 1 insertions, 1 deletions
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")