wf work + docs

This commit is contained in:
jokob-sk committed 2025-03-31 18:04:56 +11:00
1 parent 8a07f7067b
commit 2c445ccaeb
11 files changed
+180 -19

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class Condition:
if self.operator == "equals":
result = str(obj_value) == str(self.value)
elif self.operator == "contains":
result = str(self.value) in str(obj_value)
result = str(self.value).lower() in str(obj_value).lower()
elif self.operator == "regex":
result = bool(re.match(self.value, str(obj_value)))
else: