Fixed default value.
All checks were successful
Build Base Application / Build (push) Successful in 2m49s

This commit is contained in:
retoor 2024-12-14 21:08:38 +01:00
parent 8d892bdf87
commit 9f57af3ad1

View File

@ -284,8 +284,7 @@ argument_parser.add_argument(
"--db-web", "--db-web",
action="store_true", action="store_true",
help="Enable /db/* endpoints", help="Enable /db/* endpoints",
default=False, default=False
type=bool
) )
@ -295,7 +294,7 @@ argument_parser.add_argument(
def create_app(*args, **kwargs): def create_app(*args, **kwargs):
global argument_parser global argument_parser
args = argument_parser.parse_args() 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 return app