diff --git a/gallery_dl/job.py b/gallery_dl/job.py index 47ff9a5d9b..b62240b575 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -453,7 +453,7 @@ def initialize(self, kwdict=None): def _build_blacklist(self): wlist = self.extractor.config("whitelist") - if wlist: + if wlist is not None: if isinstance(wlist, str): wlist = wlist.split(",") blist = {e.category for e in extractor._list_classes()} @@ -461,7 +461,7 @@ def _build_blacklist(self): return blist blist = self.extractor.config("blacklist") - if blist: + if blist is not None: if isinstance(blist, str): blist = blist.split(",") blist = set(blist)