bugfix server hasher

This commit is contained in:
iou1name 2019-06-02 19:11:16 -04:00
parent 4161fe9021
commit 6fe9ba59a7

View File

@ -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)