summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
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 03aa7d92..170f7b9a 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -128,7 +128,7 @@ class UI(object):
if not self._locked:
try:
self.apply_commandline(cmdline)
- except CommandParseError, e:
+ except CommandParseError as e:
self.notify(e.message, priority='error')
# move keys are always passed
elif cmdline in ['move up', 'move down', 'move page up',