Skip to content

Commit 6a55f26

Browse files
committed
Remove uneeded variable
1 parent 139f263 commit 6a55f26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/models/template_email_file.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ def __init__(self, template):
124124
self.service_id = current_service.id
125125
self.template = template
126126

127-
email_files = template._template.get("email_files", [])
128-
super().__init__(email_files)
127+
super().__init__(template._template.get("email_files", []))
129128

130129
def __getitem__(self, index):
131130
return self.model(self.items[index] | {"service_id": self.service_id, "template": self.template})

0 commit comments

Comments
 (0)