aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/body_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/body_xml.py')
-rw-r--r--mammoth/docx/body_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py
index cc4e9ad..40b5f9d 100644
--- a/mammoth/docx/body_xml.py
+++ b/mammoth/docx/body_xml.py
@@ -569,7 +569,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f
return _success(documents.comment_reference(element.attributes["w:id"]))
def alternate_content(element):
- return read_child_elements(element.find_child("mc:Fallback"))
+ return read_child_elements(element.find_child_or_null("mc:Fallback"))
def read_sdt(element):
checkbox = element.find_child_or_null("w:sdtPr").find_child("wordml:checkbox")