diff options
author | Santo Cariotti <sancn@live.com> | 2017-08-22 10:43:46 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-08-22 10:43:46 +0200 |
commit | a9734c6146b6588244406578930cd4f0a061ad4c (patch) | |
tree | eec168a5d7892d6d64357532f6ecf166c7f57ae7 /lib/app.py | |
parent | 8ee6331c0e8105134c0ac29cd4fceecd2968f89b (diff) |
fixed exceptions
Diffstat (limited to 'lib/app.py')
-rw-r--r-- | lib/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |