also collect post processors from 'basecategory' entries

(fixes #1084)
This commit is contained in:
Mike Fährmann
2020-10-26 21:33:40 +01:00
parent 350b1afe1c
commit 198c33ec36

View File

@@ -518,6 +518,15 @@ class SharedConfigMixin():
), key, default,
)
def config_accumulate(self, key):
values = config.accumulate(self._cfgpath, key)
conf = config.get(("extractor",), self.basecategory)
if conf:
values[:0] = config.accumulate((self.subcategory,), key, conf=conf)
return values
def generate_extractors(extractor_data, symtable, classes):
"""Dynamically generate Extractor classes"""