Really fix the import.
This commit is contained in:
parent
0df54308f9
commit
31886898e2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import smtplib
|
|||
try:
|
||||
from email.mime.text import MIMEText
|
||||
except ImportError:
|
||||
from email import MIMEText
|
||||
from email.MIMEText import MIMEText
|
||||
|
||||
try:
|
||||
import hashlib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue