Skip to content

Commit bccf14b

Browse files
shaohuzhang1liuruibin
authored andcommitted
fix: The discriminator is empty and the judgment is incorrect (#4166)
1 parent 5321b5d commit bccf14b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/application/flow/compare/is_null_compare.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ def support(self, node_id, fields: List[str], source_value, compare, target_valu
1818
return True
1919

2020
def compare(self, source_value, compare, target_value):
21-
return source_value is None or len(source_value) == 0
21+
try:
22+
return source_value is None or len(source_value) == 0
23+
except Exception as e:
24+
return False

0 commit comments

Comments
 (0)