summaryrefslogtreecommitdiff
path: root/lib/app.py
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-08-22 10:43:46 +0200
committerSanto Cariotti <sancn@live.com>2017-08-22 10:43:46 +0200
commita9734c6146b6588244406578930cd4f0a061ad4c (patch)
treeeec168a5d7892d6d64357532f6ecf166c7f57ae7 /lib/app.py
parent8ee6331c0e8105134c0ac29cd4fceecd2968f89b (diff)
fixed exceptions
Diffstat (limited to 'lib/app.py')
-rw-r--r--lib/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/app.py b/lib/app.py
index c5d68ec..1a74485 100644
--- a/lib/app.py
+++ b/lib/app.py
@@ -53,14 +53,14 @@ class Stout(Commands):
else:
raise KeyError
except (KeyError, IndexError):
- ListCommands.err('keyword')
+ ListCommands.err('KeyError')
else:
try:
what = cmd[0]
if what in ListCommands.commands:
self.command(what, cmd)
else:
- ListCommands.err('keyword')
+ ListCommands.err('KeyError')
except IndexError:
pass