aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/docx/numbering_xml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/numbering_xml.py b/mammoth/docx/numbering_xml.py
index ebac1c8..f7f98e0 100644
--- a/mammoth/docx/numbering_xml.py
+++ b/mammoth/docx/numbering_xml.py
@@ -56,4 +56,4 @@ class Numbering(object):
if num is None:
return None
else:
- return num[level]
+ return num.get(level)