change CLI to handle global lists

This commit is contained in:
2023-12-12 19:20:22 +01:00
parent a226bc70a9
commit 5d21b81530
2 changed files with 77 additions and 72 deletions

View File

@@ -299,7 +299,8 @@ class ActionConfig(BaseConfig):
return
if "conditions" in self:
self["conditions"] = ConditionsConfig(self["conditions"], lists)
self["action"] = self.ACTION_TYPES[self["type"]](self["options"], lists)
self["action"] = self.ACTION_TYPES[self["type"]](
self["options"], lists)
class RuleConfig(BaseConfig):