Commit f3002369 by lwilms

devision by zero

parent 13876234
......@@ -127,6 +127,8 @@ def _count_this_mitigation(summary, mitigation):
for selected_summary in summary:
if mitigation in selected_summary:
count += len(summary[selected_summary])
if count == 0:
count = 1
return count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment