summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/envelope.py')
-rw-r--r--alot/commands/envelope.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index ad6edc3f..f7337968 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -57,7 +57,7 @@ class AttachCommand(Command):
logging.info("attaching: %s", files)
for path in files:
- envelope.attach(path)
+ envelope.attach_file(path)
ui.current_buffer.rebuild()