From: W. Trevor King Date: Fri, 5 Oct 2012 01:40:55 +0000 (-0400) Subject: Fix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo. X-Git-Tag: v3.0~72^2~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd8979646c18b0e5ea1a2185c602b88142e71622;p=rss2email.git Fix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo. --- diff --git a/rss2email.py b/rss2email.py index 7cee10d..2ee79ed 100755 --- a/rss2email.py +++ b/rss2email.py @@ -508,7 +508,7 @@ def sendmail_send(sender, recipient, message, config=None, section='DEFAULT'): raise SendmailError() from e def send(sender, recipient, message, config=None, section='DEFAULT'): - if configSMTP_SEND: + if config.getboolean(section, 'use-smtp'): smtp_send(sender, recipient, message) else: sendmail_send(sender, recipient, message)