diff --git a/app/but/prepajury_desc.py b/app/but/prepajury_desc.py index 7cd946150..9395c9291 100644 --- a/app/but/prepajury_desc.py +++ b/app/but/prepajury_desc.py @@ -165,7 +165,7 @@ class AnneeDesc: class ParcoursDesc: signature_header = FMT.compose( [ - (FMT.FILL_BGCOLOR, SCO_COLORS.BLUE.value), + (FMT.FILL_BGCOLOR, SCO_COLORS.LIGHT_YELLOW.value), (FMT.NUMBER_FORMAT, SCO_NUMBER_FORMAT.NUMBER_GENERAL.value), # (FMT.FONT_BOLD, True), # (FMT.FONT_SIZE, SCO_FONTSIZE.FONTSIZE_13.value), @@ -263,9 +263,7 @@ class ParcoursDesc: ), ], ) - frame = ws.get_frame_engine( - 1, 1, SCO_BORDERTHICKNESS.BORDER_THICK - ) + frame = ws.get_frame_engine(1, 1, SCO_BORDERTHICKNESS.BORDER_THICK) column = self.handle_description(ws, titles, 1, 1) frame.close(4, column - 1) return column diff --git a/app/but/prepajury_xl_format.py b/app/but/prepajury_xl_format.py index 6d0a6f02f..3d1a51f61 100644 --- a/app/but/prepajury_xl_format.py +++ b/app/but/prepajury_xl_format.py @@ -590,7 +590,7 @@ class FMT(Enum): @classmethod def compose(cls, composition: list[("FMT", int)], signature: int = 0) -> int: for field, value in composition: - signature = field.write(value, field.clear(signature)) + signature = field.write(value, field.composante.clear(signature)) return signature @classmethod