fix: The discriminator is empty and the judgment is incorrect (#4166)
parent
c795cb342a
commit
37e506fc98
|
|
@ -18,4 +18,7 @@ class IsNullCompare(Compare):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def compare(self, source_value, compare, target_value):
|
def compare(self, source_value, compare, target_value):
|
||||||
return source_value is None or len(source_value) == 0
|
try:
|
||||||
|
return source_value is None or len(source_value) == 0
|
||||||
|
except Exception as e:
|
||||||
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue