diff --git a/src/app/app.py b/src/app/app.py index d0ddf75..71d4789 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -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