From 6fe9ba59a7eb3e20afdc09f195767e24eff9ec1b Mon Sep 17 00:00:00 2001 From: iou1name Date: Sun, 2 Jun 2019 19:11:16 -0400 Subject: [PATCH] bugfix server hasher --- overwrought_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)