config test
This commit is contained in:
parent
4cbda11f7e
commit
28de664b7b
@ -195,11 +195,13 @@ def runMain():
|
||||
i = STATS_TOT_FIELDS.index(k)
|
||||
fr = STATS_FR_TOT_FIELDS[i]
|
||||
print(f"{fr}={v}")
|
||||
try:
|
||||
moyenne_part = int(res['total_participants']) / int(res['total_conferences_completed'])
|
||||
print(f"Moyenne participants par conference,{moyenne_part}")
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
moyenne_part = int(res['total_participants']) / int(res['total_conferences_completed'])
|
||||
moyenne_part = int((moyenne_part + 0.5) * 10) / 10
|
||||
|
||||
print(f"Moyenne participants par conference,{moyenne_part}")
|
||||
except:
|
||||
pass
|
||||
|
||||
if __name__ == '__main__':
|
||||
runMain()
|
||||
|
Loading…
Reference in New Issue
Block a user