fix(archive): skip categories with zero or unset days config
This commit is contained in:
@@ -69,6 +69,9 @@ def run(
|
||||
continue
|
||||
if category and cat.config.name not in category:
|
||||
continue
|
||||
|
||||
if cat.config.days == 0 or cat.config.days is None:
|
||||
continue
|
||||
|
||||
limit_days = cat.config.days if cat.config.days is not None else older_than
|
||||
|
||||
|
||||
Reference in New Issue
Block a user