summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2018-12-05 09:49:42 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2019-05-11 17:37:57 +0100
commit6c16e55d78b69284798d0398aaa45b4914ba4eb8 (patch)
tree7bc3dc71950d0370fd3e8c3c342353b9f824188d /alot/commands/globals.py
parenta24966346e42421fa020cba285af9fc09c89eaa2 (diff)
fix pyflakes issues
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: