From 2a2ac0f8bf0f0a7af0378f518fd91ee81b64cc81 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Thu, 10 Apr 2025 10:22:51 +0200 Subject: [PATCH] formatting --- src/InSillyCloWeb/assemblies/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InSillyCloWeb/assemblies/models.py b/src/InSillyCloWeb/assemblies/models.py index 4fefcbb..d2dd611 100644 --- a/src/InSillyCloWeb/assemblies/models.py +++ b/src/InSillyCloWeb/assemblies/models.py @@ -210,7 +210,7 @@ class Assembly(models.Model): def __str__(self): return self.name - def get_template(self, observer, input_parts:List[InputPart] = None) -> Tuple[BytesIO, str, str]: + def get_template(self, observer, input_parts: List[InputPart] = None) -> Tuple[BytesIO, str, str]: filename = re.sub(r'[^\w .-]', '', self.name) + '.xlsx' filename = filename.replace("..", ".") with NamedTemporaryFile(suffix=".xlsx") as template: -- GitLab