diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index af424ac..febc622 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -202,6 +202,13 @@ def runMain(): print(f"Moyenne participants par conference={moyenne_part}") except: pass + try: + moyenne_duree = int(res['total_conference_seconds'].split()[0] * 60) / int(res['total_conferences_completed']) + moyenne_duree = int((moyenne_part + 0.5) * 10) / 10 + + print(f"duree moyenne des conferences={moyenne_duree}") + except: + pass if __name__ == '__main__': runMain()