Fix error : total of not viewed bandwidth not displayed

This commit is contained in:
Gregory Soutade 2023-02-18 08:49:27 +01:00
parent c8dfdd17f7
commit 16b0619f19

View File

@ -525,7 +525,7 @@ class IWLA(object):
stats = month_stats[i]
row = [link_month, stats['nb_visitors'], stats['nb_visits'], stats['viewed_pages'], stats['viewed_hits'],
stats['viewed_bandwidth'], stats['not_viewed_bandwidth']]
for j in graph_cols:
for j in range(1,7):
total[j] += row[j]
else:
row = [full_month, 0, 0, 0, 0, 0, 0]