From 16b0619f1928b628dcdc4e9bf834fbb42ce87086 Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Sat, 18 Feb 2023 08:49:27 +0100 Subject: [PATCH] Fix error : total of not viewed bandwidth not displayed --- iwla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwla.py b/iwla.py index 6ab065a..704cd8f 100755 --- a/iwla.py +++ b/iwla.py @@ -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]