From cd8979646c18b0e5ea1a2185c602b88142e71622 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 4 Oct 2012 21:40:55 -0400 Subject: [PATCH] Fix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo. --- rss2email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2