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