Skip to content

Commit

Permalink
[common] fix _cfgpath for BaseExtractor objects
Browse files Browse the repository at this point in the history
After the changes in 0c17884,
_cfgpath was mssing its 'category' value
since that hadn't been initialized yet.
  • Loading branch information
mikf committed May 1, 2024
1 parent 6db1837 commit d11ec00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gallery_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ def __init__(self, match):
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):
Expand Down

0 comments on commit d11ec00

Please sign in to comment.