From d11ec009086d20b561704ec5bc7cfb2cefd974c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 1 May 2024 03:26:42 +0200 Subject: [PATCH] [common] fix _cfgpath for BaseExtractor objects After the changes in 0c178846734e6149b41e82502da1c038ecfd17e1, _cfgpath was mssing its 'category' value since that hadn't been initialized yet. --- gallery_dl/extractor/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index aab27779..90b117d3 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -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):