summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
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)