We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a706c29 + 54433cb commit b76852cCopy full SHA for b76852c
1 file changed
src/simplify_docx/utils/paragrapy_style.py
@@ -53,6 +53,7 @@ def get_paragraph_ind(p, doc):
53
54
num_style = get_num_style(p, doc)
55
if num_style is not None and \
56
+ getattr(num_style, "pPr", None) is not None and \
57
num_style.pPr is not None and \
58
num_style.pPr.ind is not None:
59
return num_style.pPr.ind
0 commit comments