config test

This commit is contained in:
David 2022-12-26 00:20:04 +01:00
parent d36b68fd57
commit 18d77192df

View File

@ -202,6 +202,13 @@ def runMain():
print(f"Moyenne participants par conference={moyenne_part}") print(f"Moyenne participants par conference={moyenne_part}")
except: except:
pass 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__': if __name__ == '__main__':
runMain() runMain()