summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index 2bd5a076..03e90639 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -881,7 +881,7 @@ class ComposeCommand(Command):
def _get_account(self, ui):
# find out the right account
sender = self.envelope.get('From')
- name, addr = email.utils.parseaddr(sender)
+ _, addr = email.utils.parseaddr(sender)
try:
account = settings.get_account_by_address(addr)
except NoMatchingAccount: