config test
This commit is contained in:
parent
617d896c9f
commit
ef03b2ab7e
@ -109,20 +109,16 @@ class Stats:
|
||||
if field in consolided:
|
||||
if consolided[field] < int(line[3]):
|
||||
consolided[field] = int(line[3])
|
||||
temp_cons = {}
|
||||
for (k,v) in consolided.items():
|
||||
temp_cons[k] = v
|
||||
temp_keys = list(consolided.keys())
|
||||
for k in keys:
|
||||
if 'bytes' in k:
|
||||
(v,u) = self.__conv(consolided[k])
|
||||
temp_cons[k] = f"{v} {u}"
|
||||
consolided[k] = f"{v} {u}"
|
||||
if 'seconds' in k:
|
||||
(v,u) = self.__conv(consolided[k],dataType='t')
|
||||
consolided.pop(k)
|
||||
n_k = k.replace('_seconds','_time')
|
||||
temp_cons[n_k] = f"{v} {u}"
|
||||
|
||||
for (k,v) in temp_cons.items():
|
||||
consolided[k] = temp_cons[k]
|
||||
consolided[n_k] = f"{v} {u}"
|
||||
|
||||
if moy_conf_by_day > 1:
|
||||
tot = consolided['conferences']
|
||||
|
Loading…
Reference in New Issue
Block a user