config test

This commit is contained in:
David 2022-12-25 23:43:37 +01:00
parent c7b2c38db4
commit b0ad3c63cd

View File

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