config test

This commit is contained in:
David 2023-01-03 12:46:52 +01:00
parent 5fba41dbf0
commit 46a95b6793

View File

@ -206,8 +206,11 @@ def runMain():
print(f"Moyenne participants par conference={moyenne_part}")
except:
pass
if res.has_key('total_conference_time'):
moyenne_duree = float(res['total_conference_time'].split()[0]) * 60 / int(res['total_conferences_completed'])
moyenne_duree = int((moyenne_duree + 0.5) * 10) / 10
else:
moyenne_duree = 0
print(f"duree moyenne des conferences={moyenne_duree} min")