Fix a bug I introduced in earlier commit + fix one test

This commit is contained in:
Benbb96
2022-04-14 23:30:42 +02:00
parent 7e5ff05b02
commit 9320df0268
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ def process_attachments(followup, attached_files):
if attached.size:
filename = smart_text(attached.name)
att = followup.followupattachment_set(
att = followup.followupattachment_set.create(
file=attached,
filename=filename,
mime_type=attached.content_type or