aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/xmlparser.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-11-30 13:56:29 +0000
committerMichael Williamson <mike@zwobble.org>2024-11-30 13:56:29 +0000
commitfe6fb7ea7380280c8589548fd61b121a917a356a (patch)
tree810e648b0132ff4931e91d2cd986689d6600e450 /mammoth/docx/xmlparser.py
parentfe7708b65b7d479e795f379e11ab486d2d08af4e (diff)
Read complex field checkboxes, always unchecked
Diffstat (limited to 'mammoth/docx/xmlparser.py')
-rw-r--r--mammoth/docx/xmlparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/docx/xmlparser.py b/mammoth/docx/xmlparser.py
index bb84afd..2e22cec 100644
--- a/mammoth/docx/xmlparser.py
+++ b/mammoth/docx/xmlparser.py
@@ -10,7 +10,7 @@ class XmlElement(object):
children = cobble.field()
def find_child_or_null(self, name):
- return self.find_child(name) or _null_xml_element
+ return self.find_child(name) or null_xml_element
def find_child(self, name):
for child in self.children:
@@ -50,7 +50,7 @@ class NullXmlElement(object):
return None
-_null_xml_element = NullXmlElement()
+null_xml_element = NullXmlElement()
@cobble.data