config test
This commit is contained in:
parent
5fba41dbf0
commit
46a95b6793
@ -206,8 +206,11 @@ def runMain():
|
|||||||
print(f"Moyenne participants par conference={moyenne_part}")
|
print(f"Moyenne participants par conference={moyenne_part}")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
moyenne_duree = float(res['total_conference_time'].split()[0]) * 60 / int(res['total_conferences_completed'])
|
if res.has_key('total_conference_time'):
|
||||||
moyenne_duree = int((moyenne_duree + 0.5) * 10) / 10
|
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")
|
print(f"duree moyenne des conferences={moyenne_duree} min")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user