Skip to content
Snippets Groups Projects
Commit 2a2ac0f8 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

formatting

parent 162f7a4c
No related branches found
No related tags found
1 merge request!6Improve look'n'feel assembly designer
Pipeline #154401 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment