Fix error : total of not viewed bandwidth not displayed
This commit is contained in:
parent
c8dfdd17f7
commit
16b0619f19
2
iwla.py
2
iwla.py
|
@ -525,7 +525,7 @@ class IWLA(object):
|
||||||
stats = month_stats[i]
|
stats = month_stats[i]
|
||||||
row = [link_month, stats['nb_visitors'], stats['nb_visits'], stats['viewed_pages'], stats['viewed_hits'],
|
row = [link_month, stats['nb_visitors'], stats['nb_visits'], stats['viewed_pages'], stats['viewed_hits'],
|
||||||
stats['viewed_bandwidth'], stats['not_viewed_bandwidth']]
|
stats['viewed_bandwidth'], stats['not_viewed_bandwidth']]
|
||||||
for j in graph_cols:
|
for j in range(1,7):
|
||||||
total[j] += row[j]
|
total[j] += row[j]
|
||||||
else:
|
else:
|
||||||
row = [full_month, 0, 0, 0, 0, 0, 0]
|
row = [full_month, 0, 0, 0, 0, 0, 0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user