projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73678fd
)
Fix configSMTP_SEND -> config.getboolean(section, 'use-smtp') typo.
author
W. Trevor King
<wking@tremily.us>
Fri, 5 Oct 2012 01:40:55 +0000
(21:40 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 5 Oct 2012 01:40:55 +0000
(21:40 -0400)
rss2email.py
patch
|
blob
|
history
diff --git
a/rss2email.py
b/rss2email.py
index 7cee10da62d4b44e63390347c6855d42ccaa5024..2ee79eddc55c059cdd38acf4fc98947698eb3790 100755
(executable)
--- 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 config
SMTP_SEND
:
+ if config
.getboolean(section, 'use-smtp')
:
smtp_send(sender, recipient, message)
else:
sendmail_send(sender, recipient, message)