mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Typo
This commit is contained in:
@@ -1244,7 +1244,7 @@ def send_mail( frm, to, subject, body, config, html=None ):
|
||||
log.info( msg )
|
||||
return
|
||||
|
||||
if not html:
|
||||
if html:
|
||||
mp_text = email_mime_text.MIMEText( body.encode( 'ascii', 'replace' ), 'plain' )
|
||||
mp_html = email_mime_text.MIMEText( html.encode( 'ascii', 'replace' ), 'html' )
|
||||
msg.attach(mp_text)
|
||||
|
||||
Reference in New Issue
Block a user