summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-08-19 10:26:47 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-08-19 10:26:47 +0100
commitea3916eaef3bcc0b2df6b36b849a46254767d828 (patch)
treea0c21f84e2e9cb13b41899ba2ce70de79b5b6c71 /alot/helper.py
parent57a13b909c1bc8b2595d30e8bc5ce58004f9651d (diff)
fix: issue with encoders in helper.attach
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index 6aaaf917..eb0d4978 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -87,7 +87,7 @@ def attach(path, mail, filename=None):
part.set_payload(fp.read())
fp.close()
# Encode the payload using Base64
- encoders.encode_base64(part)
+ email.encoders.encode_base64(part)
# Set the filename parameter
if not filename:
filename = os.path.basename(path)