fixed issue caused by passing kwarg to arg_parser.add_argument()

This commit is contained in:
ahmadbilalkhalid 2019-11-11 22:59:10 +05:00
parent bdeeea78df
commit ad311bc0e2

View file

@ -5,7 +5,7 @@ import decouple
import argparse import argparse
arg_parser = argparse.ArgumentParser() arg_parser = argparse.ArgumentParser()
arg_parser.add_argument("admin_seed", required=True) arg_parser.add_argument("admin_seed")
args = arg_parser.parse_args() args = arg_parser.parse_args()
r = requests.post("http://localhost:{}/create".format(decouple.config("PORT")), r = requests.post("http://localhost:{}/create".format(decouple.config("PORT")),