From 9f57af3ad1912c2d9bad32266966c695a5bb64d9 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 14 Dec 2024 21:08:38 +0100 Subject: [PATCH] Fixed default value. --- src/app/app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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