summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.py b/app.py
index be6b0db..2dc8f66 100644
--- a/app.py
+++ b/app.py
@@ -33,8 +33,10 @@ class Stout(Commands):
try:
if cmd[0] == 'info' and count == 1:
print(ListCommands.info['info'])
- else:
+ elif cmd[0] == 'info' and count == 2:
print(ListCommands.info[cmd[1]])
+ else:
+ raise KeyError
except (KeyError, IndexError):
ListCommands.err('keyword')
else: