Andrew's git
/
logparse.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
bugfixing in config & add quiet mode
[logparse.git]
/
logparse
/
mail.py
diff --git
a/logparse/mail.py
b/logparse/mail.py
index 439b9c79c5a0b6f1a2121c2bc33580ca87b876e3..26a402e44eacd14b5d353e34623c9808016becdf 100644
(file)
--- a/
logparse/mail.py
+++ b/
logparse/mail.py
@@
-24,7
+24,7
@@
def mailprep(htmlin, stylesheet):
return htmlout
-def sendmail(mailbin, body, recipient, subject, html=True,
*sender
):
+def sendmail(mailbin, body, recipient, subject, html=True,
sender=""
):
logger.debug("Sending email")
msg = MIMEText(body, 'html' if html else 'plain')
if sender: