aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx.py')
-rw-r--r--mammoth/docx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx.py b/mammoth/docx.py
index 9a3fe36..2f383dd 100644
--- a/mammoth/docx.py
+++ b/mammoth/docx.py
@@ -47,7 +47,7 @@ def run(element):
@handler("w:p")
def paragraph(element):
- return documents.Paragraph(_read_xml_elements(element.children))
+ return documents.paragraph(_read_xml_elements(element.children))
@handler("w:body")