Fixed AttributeError on doc_status.py

This commit is contained in:
SamuelDeboni 2019-10-08 10:02:05 -03:00
parent c2edaa97f3
commit 35d22e414f

View file

@ -259,6 +259,7 @@ class ClassStatus:
status.progresses[tag.tag].increment(len(descr.text.strip()) > 0)
elif tag.tag in ['constants', 'members']:
for sub_tag in list(tag):
if not sub_tag.text is None:
status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0)
elif tag.tag in ['tutorials']: