diff --git a/hate_crack.py b/hate_crack.py index 7ce5dc9..a44b98a 100755 --- a/hate_crack.py +++ b/hate_crack.py @@ -529,9 +529,11 @@ def main(): "98": show_readme, "99": quit_hc } - task = input("\nSelect a task: ") - options[task]() - + try: + task = input("\nSelect a task: ") + options[task]() + except KeyError: + pass # Boilerplate if __name__ == '__main__': main()