diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-20 10:45:04 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-20 10:45:04 +0000 |
commit | be53b78724a5b793d7fa9b10b8964a98a67a132b (patch) | |
tree | ddd06f54ceea01863e3048cc9b6b0b635aba58d4 /alot/message.py | |
parent | 4369b464da69ab0af81823eb779c031a63d5e340 (diff) |
expanduser in envelope.attach
Diffstat (limited to 'alot/message.py')
-rw-r--r-- | alot/message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/message.py b/alot/message.py index 6d15f89b..e71d4043 100644 --- a/alot/message.py +++ b/alot/message.py @@ -501,6 +501,7 @@ class Envelope(object): :type ctype: str """ + path = os.path.expanduser(path) part = helper.mimewrap(path, filename, ctype) self.attachments.append(part) |