Various small bug fixes

This commit is contained in:
2020-04-19 12:54:02 +02:00
parent d01b943597
commit ec8edb02f1
5 changed files with 8 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ def score_all(node):
for child in node:
score = score_node(child)
child.attrib['seen'] = 'yes, ' + str(int(score))
child.attrib['morss_own_score'] = str(float(score))
if score > 0 or len(list(child.iterancestors())) <= 2:
spread_score(child, score)