mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
Fix a bug I introduced in earlier commit + fix one test
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user