From 36e3ce588ad6f55d28a52ff9e10b6bfdb52e0a7b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 12:20:25 +0100 Subject: Add stubbed author_name and author_initials to Comment --- mammoth/docx/comments_xml.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mammoth/docx/comments_xml.py') diff --git a/mammoth/docx/comments_xml.py b/mammoth/docx/comments_xml.py index 9a92552..fbf1bc4 100644 --- a/mammoth/docx/comments_xml.py +++ b/mammoth/docx/comments_xml.py @@ -13,7 +13,9 @@ def create_comments_reader(body_reader): return body_reader.read_all(element.children).map(lambda body: documents.comment( comment_id=element.attributes["w:id"], - body=body + body=body, + author_name=None, + author_initials=None, )) return read_comments_xml_element -- cgit v1.2.3