diff --git a/overwrought_server.py b/overwrought_server.py index 0c83844..1b1dbee 100644 --- a/overwrought_server.py +++ b/overwrought_server.py @@ -73,16 +73,16 @@ if __name__ == "__main__": parser = argparse.ArgumentParser( description="The overwrought server. Use gunicorn to start." ) - parse.add_argument( + parser.add_argument( 'action', choices=['hash'], help="What action to perform.", ) - parse.add_argument( + parser.add_argument( 'target', help="The target to perform the action on." ) - args.parse_args() + args = parser.parse_args() if args.action == "hash": pw_hash = generate_hash(args.target)