Skip to content

Commit

Permalink
Fix error in summary table in Excel export
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroundZero committed Oct 10, 2018
1 parent 26ea5b8 commit 368642d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvasreporting/libs/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __row_height(text, width):
for i, level in enumerate(Config.levels().values(), 4):
ws_sum.write("B{}".format(i), level.capitalize(), format_sheet_title_content)
ws_sum.write("C{}".format(i), vuln_levels[level], format_align_border)
ws_sum.write("D{}".format(i), vuln_host_by_level["level"], format_align_border)
ws_sum.write("D{}".format(i), vuln_host_by_level[level], format_align_border)

ws_sum.write("B9", "Total", format_table_titles)
ws_sum.write_formula("C9", "=SUM($C$4:$C$8)", format_table_titles)
Expand Down

0 comments on commit 368642d

Please sign in to comment.