From 094377d67cd3f7a62d6a350ca26b45f8df827c44 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 25 Dec 2022 23:49:25 +0100 Subject: [PATCH] config test --- statistiques/parseStats.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/statistiques/parseStats.py b/statistiques/parseStats.py index 02bdac8..0733234 100755 --- a/statistiques/parseStats.py +++ b/statistiques/parseStats.py @@ -192,7 +192,9 @@ def runMain(): stats = Stats(year,mois) res = stats.parse() for (k,v) in res.items(): - print(f"{k}={v}") + i = STATS_TOT_FIELDS.index(k) + fr = STATS_FR_TOT_FIELDS(i) + print(f"{fr}={v}") if __name__ == '__main__': runMain()