Ticket #4781: mail-typo.diff

File mail-typo.diff, 517 bytes (added by Simon Litchfield <simon@…>, 17 years ago)
  • django/core/mail.py

     
    265265        """
    266266        if isinstance(filename, MIMEBase):
    267267            assert content == mimetype == None
    268             self.attachements.append(filename)
     268            self.attachments.append(filename)
    269269        else:
    270270            assert content is not None
    271271            self.attachments.append((filename, content, mimetype))
Back to Top