[common] fix _cfgpath for BaseExtractor objects

After the changes in 0c17884673,
_cfgpath was mssing its 'category' value
since that hadn't been initialized yet.
pull/5543/head
Mike Fährmann 5 months ago
parent 6db1837a6d
commit d11ec00908
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -766,6 +766,7 @@ class BaseExtractor(Extractor):
Extractor.__init__(self, match)
if not self.category:
self._init_category()
self._cfgpath = ("extractor", self.category, self.subcategory)
def _init_category(self):
for index, group in enumerate(self.groups):

Loading…
Cancel
Save