add journald communication capability
[logparse.git] / logparse / mail.py
index 439b9c79c5a0b6f1a2121c2bc33580ca87b876e3..26a402e44eacd14b5d353e34623c9808016becdf 100644 (file)
@@ -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: