Fixed default value.
All checks were successful
Build Base Application / Build (push) Successful in 2m49s
All checks were successful
Build Base Application / Build (push) Successful in 2m49s
This commit is contained in:
parent
8d892bdf87
commit
9f57af3ad1
@ -284,8 +284,7 @@ argument_parser.add_argument(
|
||||
"--db-web",
|
||||
action="store_true",
|
||||
help="Enable /db/* endpoints",
|
||||
default=False,
|
||||
type=bool
|
||||
default=False
|
||||
)
|
||||
|
||||
|
||||
@ -295,7 +294,7 @@ argument_parser.add_argument(
|
||||
def create_app(*args, **kwargs):
|
||||
global argument_parser
|
||||
args = argument_parser.parse_args()
|
||||
app = create_app(db_path=args.db_path,basic_username=args.basic_username,basic_password=args.basic_password)
|
||||
app = create_app(db_path=args.db_path,db_web=args.db_web,basic_username=args.basic_username,basic_password=args.basic_password)
|
||||
return app
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user