summaryrefslogtreecommitdiff
path: root/alot/send.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/send.py')
-rw-r--r--alot/send.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/send.py b/alot/send.py
index afcfcdb2..eb7638f6 100644
--- a/alot/send.py
+++ b/alot/send.py
@@ -44,6 +44,7 @@ class Sender:
self.mailbox.flush()
self.mailbox.unlock()
+
class SendmailSender(Sender):
def __init__(self, sendmail_cmd, mailbox=None):
@@ -51,7 +52,7 @@ class SendmailSender(Sender):
self.mailbox = mailbox
def send_mail(self, mail):
- mail['Date'] = email.utils.formatdate(time.time(),True)
+ mail['Date'] = email.utils.formatdate(time.time(), True)
args = shlex.split(self.cmd)
proc = subprocess.Popen(args, stdin=subprocess.PIPE)
proc.communicate(mail.as_string())