From 841ae1c7abb5feca24d7220054b85f18509295fe Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 4 Apr 2022 08:59:22 +0200 Subject: [PATCH] Fix: table recap style col. vide --- app/comp/res_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/comp/res_common.py b/app/comp/res_common.py index 1f19fbfd..ed223271 100644 --- a/app/comp/res_common.py +++ b/app/comp/res_common.py @@ -629,7 +629,7 @@ class ResultatsSemestre(ResultatsCache): c_class = f"_{col_id}_class" if "col_empty" in bottom_infos["moy"].get(c_class, ""): for row in rows: - row[c_class] += " col_empty" + row[c_class] = row.get(c_class, "") + " col_empty" titles[c_class] += " col_empty" for row in bottom_infos.values(): row[c_class] = row.get(c_class, "") + " col_empty"