diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-06-05 10:36:08 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 2bfd789215efba198e667f04a0f46cc6c92d40fd (patch) | |
tree | 7b927c94748c23919a9d00c9771133bb9be2828b /alot/ui.py | |
parent | 219e9b038329efdd18dad7ebb17da679825d3e61 (diff) |
py3k: Replace 'e.message' with 'str(e)' when handling exceptions
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |