summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-08-19 11:43:32 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-08-19 11:43:32 +0100
commit4bcd3b27e56eec788e06b178c8f34a12ce329370 (patch)
treeedb278c2d0056915944364e2061da8cc435b3b87 /alot
parent869118f558a6a6dfdaba477923ab8a569c56ec86 (diff)
fix: store_mail
Diffstat (limited to 'alot')
-rw-r--r--alot/account.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/account.py b/alot/account.py
index cd5a7d04..13bed02b 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -95,11 +95,11 @@ class Account:
"""
mbx.lock()
if isinstance(mbx, mailbox.Maildir):
- msg = mailbox.MaildirMessage(email)
+ msg = mailbox.MaildirMessage(mail)
msg.set_flags('S')
else:
- msg = mailbox.Message(email)
- key = mbx.add(email)
+ msg = mailbox.Message(mail)
+ key = mbx.add(mail)
mbx.flush()
mbx.unlock()