From 4d729ff8906cc371102f711a947af61252e51183 Mon Sep 17 00:00:00 2001 From: Eric Rasche Date: Wed, 13 Apr 2016 17:27:14 +0000 Subject: [PATCH] Typo --- lib/galaxy/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/util/__init__.py b/lib/galaxy/util/__init__.py index 060ffcadcc4..98c47941b60 100644 --- a/lib/galaxy/util/__init__.py +++ b/lib/galaxy/util/__init__.py @@ -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)