Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
#110 Don't break django.debug.technical_500_response when Attachment.…
Browse files Browse the repository at this point in the history
…original_filename is None
  • Loading branch information
Rowan Van der Molen committed Oct 13, 2018
1 parent fe78b39 commit 1223f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailqueue/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ class Meta:
verbose_name_plural = _('Attachments')

def __str__(self):
return self.original_filename
return str(self.original_filename)

0 comments on commit 1223f94

Please sign in to comment.