From a9734c6146b6588244406578930cd4f0a061ad4c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 22 Aug 2017 10:43:46 +0200 Subject: fixed exceptions --- lib/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/app.py') 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 -- cgit v1.2.3-18-g5258