mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 00:04:50 +02:00
Fix issue #37 - file uploading was not working as it should.
File uploading now works correctly from both the staff interface and from emails.
This commit is contained in:
@ -276,7 +276,7 @@ def ticket_from_message(message, queue):
|
||||
mime_type=file['type'],
|
||||
size=len(file['content']),
|
||||
)
|
||||
a.file.save(file['filename'], ContentFile(file['content']))
|
||||
a.file.save(file['filename'], ContentFile(file['content']), save=False)
|
||||
a.save()
|
||||
print " - %s" % file['filename']
|
||||
|
||||
|
Reference in New Issue
Block a user