Fixed AttributeError on doc_status.py
This commit is contained in:
parent
c2edaa97f3
commit
35d22e414f
1 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,8 @@ class ClassStatus:
|
|||
status.progresses[tag.tag].increment(len(descr.text.strip()) > 0)
|
||||
elif tag.tag in ['constants', 'members']:
|
||||
for sub_tag in list(tag):
|
||||
status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0)
|
||||
if not sub_tag.text is None:
|
||||
status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0)
|
||||
|
||||
elif tag.tag in ['tutorials']:
|
||||
pass # Ignore those tags for now
|
||||
|
|
Loading…
Reference in a new issue