From 7ae5e0458a01df8f1ff79eee4ac53086f36d6076 Mon Sep 17 00:00:00 2001 From: Briar Date: Fri, 6 Oct 2023 17:06:11 -0400 Subject: [PATCH] Possible way to modify add_configurables --- src/hapi/pipelines/app/pipelines.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hapi/pipelines/app/pipelines.py b/src/hapi/pipelines/app/pipelines.py index a8416465..7670b38e 100644 --- a/src/hapi/pipelines/app/pipelines.py +++ b/src/hapi/pipelines/app/pipelines.py @@ -78,7 +78,11 @@ def _create_configurable_scrapers( admin_sources=True, adminlevel=adminlevel, ) - self.configurable_scrapers[prefix] = self.runner.add_configurables( + self.configurable_scrapers[ + prefix + ] = self.configurable_scrapers.get( + prefix, [] + ) + self.runner.add_configurables( self.configuration[f"{prefix}{suffix}"], level, adminlevel=adminlevel,