1
0
forked from ScoDoc/ScoDoc

Fix: table recap style col. vide

This commit is contained in:
Emmanuel Viennet 2022-04-04 08:59:22 +02:00
parent 187f4721eb
commit 841ae1c7ab

View File

@ -629,7 +629,7 @@ class ResultatsSemestre(ResultatsCache):
c_class = f"_{col_id}_class" c_class = f"_{col_id}_class"
if "col_empty" in bottom_infos["moy"].get(c_class, ""): if "col_empty" in bottom_infos["moy"].get(c_class, ""):
for row in rows: for row in rows:
row[c_class] += " col_empty" row[c_class] = row.get(c_class, "") + " col_empty"
titles[c_class] += " col_empty" titles[c_class] += " col_empty"
for row in bottom_infos.values(): for row in bottom_infos.values():
row[c_class] = row.get(c_class, "") + " col_empty" row[c_class] = row.get(c_class, "") + " col_empty"