diff options
-rw-r--r-- | __pycache__/classes.cpython-35.pyc | bin | 1480 -> 1463 bytes | |||
-rw-r--r-- | app.py | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/__pycache__/classes.cpython-35.pyc b/__pycache__/classes.cpython-35.pyc Binary files differindex 2ac1e7c..eb7b498 100644 --- a/__pycache__/classes.cpython-35.pyc +++ b/__pycache__/classes.cpython-35.pyc @@ -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: |