From 94d99607f42792d5626203fd11e737a6033f31bb Mon Sep 17 00:00:00 2001 From: Alex38Lyon <55714436+Alex38Lyon@users.noreply.github.com> Date: Tue, 27 Oct 2026 21:07:21 +0100 Subject: [PATCH] Update pythStat.py --- Scripts/pyThStat/pythStat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/pyThStat/pythStat.py b/Scripts/pyThStat/pythStat.py index 7e24b4a..4069cf5 100644 --- a/Scripts/pyThStat/pythStat.py +++ b/Scripts/pyThStat/pythStat.py @@ -1516,7 +1516,7 @@ def calcul_stats(output_file_csv, output_file_md, filename="None"): def fmt(v, idx): if v is None: return "" - return format_french_number(v) if idx in (3, 4, 5, 6, 9, 11, 12) else str(v).replace(" ", "") + return format_french_number(v) if idx in (3, 4, 5, 6, 9, 11) else str(v).replace(" ", "") first = fmt(vals[0], 0) if vals[0] is not None else " " reste = " | ".join(f"**{fmt(v, i + 1)}**" for i, v in enumerate(vals[1:])) @@ -2278,7 +2278,7 @@ def sql_bilan_reseaux(): ligne[10] = str(altitude_max[0][0]) ligne[11] = str(f"{altitude_max[0][1]:.2f}") ligne[4] = str(f"{altitude_max[0][1] - altitude_min[0][1]:.2f}") - ligne[12] = f"{maps_length_pcent:.2f}%" + ligne[12] = f"{maps_length_pcent:.0f}%" for i in range(11): ligne[i + 1] = ligne[i + 1].ljust(_largeurCol)