bugfix server hasher
This commit is contained in:
parent
4161fe9021
commit
6fe9ba59a7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user