1. ginstrom
  2. mailer

Commits

Massimiliano Torromeo  committed b3631f6

Removed unused import which conflicted with internal Message class

  • Participants
  • Parent commits 90ec61f
  • Branches default

Comments (0)

Files changed (1)

File mailer.py

View file
 try:
     from email import encoders
     from email.header import make_header
-    from email.message import Message
     from email.mime.audio import MIMEAudio
     from email.mime.base import MIMEBase
     from email.mime.image import MIMEImage
 except ImportError:
     from email import Encoders as encoders
     from email.Header import make_header
-    from email.MIMEMessage import Message
     from email.MIMEAudio import MIMEAudio
     from email.MIMEBase import MIMEBase
     from email.MIMEImage import MIMEImage