diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-19 11:43:32 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-19 11:43:32 +0100 |
commit | 4bcd3b27e56eec788e06b178c8f34a12ce329370 (patch) | |
tree | edb278c2d0056915944364e2061da8cc435b3b87 /alot | |
parent | 869118f558a6a6dfdaba477923ab8a569c56ec86 (diff) |
fix: store_mail
Diffstat (limited to 'alot')
-rw-r--r-- | alot/account.py | 6 |
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() |