From b0dbbc4dcde7fe6c5fcc33f9e2063ac36b444646 Mon Sep 17 00:00:00 2001 From: bobokun Date: Wed, 14 Feb 2024 12:24:18 -0500 Subject: [PATCH] Fixes #487 --- VERSION | 2 +- modules/config.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 0f59914..4fa40af 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.9-develop7 +4.0.9-develop8 diff --git a/modules/config.py b/modules/config.py index d6c82bd..23bd265 100755 --- a/modules/config.py +++ b/modules/config.py @@ -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