summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-05 10:36:08 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit2bfd789215efba198e667f04a0f46cc6c92d40fd (patch)
tree7b927c94748c23919a9d00c9771133bb9be2828b /alot/ui.py
parent219e9b038329efdd18dad7ebb17da679825d3e61 (diff)
py3k: Replace 'e.message' with 'str(e)' when handling exceptions
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 3c256865..deec3ab1 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -317,7 +317,7 @@ class UI(object):
def cerror(e):
logging.error(e)
- self.notify('completion error: %s' % e.message,
+ self.notify('completion error: %s' % str(e),
priority='error')
self.update()