summaryrefslogtreecommitdiff
path: root/alot/db/message.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-02-22 14:51:58 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit6f12a5b5edc6da86e629c5e8ec9b2089825ba3d8 (patch)
tree5e1f19992cbde251e1ed4875cba901e106acbf2b /alot/db/message.py
parentdbaa8b39e172a71b32758ab70fe3ee29e64b17fa (diff)
alot/db/message: fix for py3k
Diffstat (limited to 'alot/db/message.py')
-rw-r--r--alot/db/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/message.py b/alot/db/message.py
index c4ea5f8a..4c4af99b 100644
--- a/alot/db/message.py
+++ b/alot/db/message.py
@@ -64,7 +64,7 @@ class Message(object):
self._from = sender
elif 'draft' in self._tags:
acc = settings.get_accounts()[0]
- self._from = '"{}" <{}>'.format(acc.realname, unicode(acc.address))
+ self._from = '"{}" <{}>'.format(acc.realname, str(acc.address))
else:
self._from = '"Unknown" <>'