From d3b9f44c6c6bd08787341f706cd685265c83813a Mon Sep 17 00:00:00 2001 From: jmpla Date: Sat, 20 May 2023 11:55:33 +0200 Subject: [PATCH] apres refactor merge cells --- app/but/prepajury_desc.py | 1 - app/but/prepajury_xl_format.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/but/prepajury_desc.py b/app/but/prepajury_desc.py index 653e1ad6b..dbf8925f0 100644 --- a/app/but/prepajury_desc.py +++ b/app/but/prepajury_desc.py @@ -268,7 +268,6 @@ class ParcoursDesc: ) column = self.handle_description(ws, titles, 1, 1) frame.close(4, column - 1) - return column def generate_header(self, ws: ScoExcelSheet): diff --git a/app/but/prepajury_xl_format.py b/app/but/prepajury_xl_format.py index 235335e2e..6d0a6f02f 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, signature) + signature = field.write(value, field.clear(signature)) return signature @classmethod