From 7de5231e889a11ff311748049fac4a04d6f0fbad Mon Sep 17 00:00:00 2001 From: David Korczynski Date: Mon, 20 Jan 2025 14:58:15 -0800 Subject: [PATCH] webapp: fix bug for project count Signed-off-by: David Korczynski --- .../app/static/assets/db/web_db_creator_from_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/web-fuzzing-introspection/app/static/assets/db/web_db_creator_from_summary.py b/tools/web-fuzzing-introspection/app/static/assets/db/web_db_creator_from_summary.py index d1e2e520b..9d7a94fb1 100644 --- a/tools/web-fuzzing-introspection/app/static/assets/db/web_db_creator_from_summary.py +++ b/tools/web-fuzzing-introspection/app/static/assets/db/web_db_creator_from_summary.py @@ -1287,7 +1287,7 @@ def extract_must_includes(must_include_arg): for filename in os.listdir(must_include_arg): if filename.endswith(".yaml"): must_include.add(filename.replace(".yaml", "")) - else: + elif must_include_arg: for elem in must_include_arg.split(","): must_include.add(elem.strip()) return must_include