style fix

This commit is contained in:
Jachym Cepicky 2019-03-09 23:51:26 +01:00
parent ce82ddb9f9
commit ba8f3f3cbb

View File

@ -956,7 +956,6 @@ class Attachment(models.Model):
mimetypes.guess_type(self.filename, strict=False)[0] or \ mimetypes.guess_type(self.filename, strict=False)[0] or \
'application/octet-stream' 'application/octet-stream'
return super(Attachment, self).save(*args, **kwargs) return super(Attachment, self).save(*args, **kwargs)
def get_filename(self): def get_filename(self):