diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-19 10:26:47 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-19 10:26:47 +0100 |
commit | ea3916eaef3bcc0b2df6b36b849a46254767d828 (patch) | |
tree | a0c21f84e2e9cb13b41899ba2ce70de79b5b6c71 /alot/command.py | |
parent | 57a13b909c1bc8b2595d30e8bc5ce58004f9651d (diff) |
fix: issue with encoders in helper.attach
Diffstat (limited to 'alot/command.py')
-rw-r--r-- | alot/command.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/alot/command.py b/alot/command.py index 2b6bc30a..86d24db2 100644 --- a/alot/command.py +++ b/alot/command.py @@ -28,11 +28,7 @@ import mimetypes from email.parser import Parser from email import Charset from email.header import Header -from email import encoders from email.message import Message -from email.mime.audio import MIMEAudio -from email.mime.base import MIMEBase -from email.mime.image import MIMEImage from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import urwid @@ -845,7 +841,8 @@ class EnvelopeSendCommand(Command): name = None helper.attach(sig, mail, filename=name) else: - ui.notify('could not locate signature: %s' % sig, priority='error') + ui.notify('could not locate signature: %s' % sig, + priority='error') if not ui.choice('send without signature') == 'yes': return |