1
0
Fork 0
This commit is contained in:
Adam Coddington 2013-06-06 01:10:12 -07:00
parent af2f37a247
commit 46960440d5

View file

@ -195,7 +195,7 @@ class Mailbox(models.Model):
temp_file.flush()
attachment = MessageAttachment()
attachment.document.save(filename, File(temp_file))
attachment.mesage = msg
attachment.message = msg
attachment.save()
return msg