diff options
Diffstat (limited to 'alot/db')
-rw-r--r-- | alot/db/envelope.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/envelope.py b/alot/db/envelope.py index f61e257e..f0c94de0 100644 --- a/alot/db/envelope.py +++ b/alot/db/envelope.py @@ -324,7 +324,7 @@ class Envelope(object): # interpret 'Attach' pseudo header if 'Attach' in self: to_attach = [] - for line in self['Attach']: + for line in self.get_all('Attach'): gpath = os.path.expanduser(line.strip()) to_attach += filter(os.path.isfile, glob.glob(gpath)) logging.debug('Attaching: %s' % to_attach) |