config test

This commit is contained in:
David 2022-12-19 13:59:03 +01:00
parent 2fbd122fa1
commit f69407305a

View File

@ -87,7 +87,7 @@ class Stats:
for line in res:
field = line[2]
if field in STATS_TOT_FIELDS:
if field in consolided:
if field in consolided and 'total' not in field:
consolided[field] = consolided[field] + int(line[3])
else:
consolided[field] = int(line[3])