This commit is contained in:
bobokun 2024-02-14 12:24:18 -05:00
parent 5656ec2756
commit b0dbbc4dcd
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
4.0.9-develop7
4.0.9-develop8

View file

@ -292,6 +292,8 @@ class Config:
cat_str = list(cat.keys())[0]
self.nohardlinks[cat_str] = {}
exclude_tags = cat[cat_str].get("exclude_tags", [])
if exclude_tags is None:
exclude_tags = []
if isinstance(exclude_tags, str):
exclude_tags = [exclude_tags]
self.nohardlinks[cat_str]["exclude_tags"] = exclude_tags