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 71c5768d..86ad801e 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -429,7 +429,7 @@ class ComposeCommand(Command):
#get To header
if 'To' not in self.mail:
- name, addr = email.Utils.parseaddr(unicode(self.mail.get('From')))
+ name, addr = email.Utils.parseaddr(self.mail.get('From'))
a = ui.accountman.get_account_by_address(addr)
allbooks = not settings.config.getboolean('general',