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/helper.py | |
parent | 57a13b909c1bc8b2595d30e8bc5ce58004f9651d (diff) |
fix: issue with encoders in helper.attach
Diffstat (limited to 'alot/helper.py')
-rw-r--r-- | alot/helper.py | 2 |
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) |