bugfix
This commit is contained in:
parent
86fa06573d
commit
54ea7b5157
@ -150,8 +150,8 @@ def check_value(field, spec_value, data_value):
|
||||
return data_value in arr
|
||||
|
||||
mode = field.value_mode
|
||||
if not mode:
|
||||
mode = '='
|
||||
if not mode or mode == '=':
|
||||
mode = '=='
|
||||
script = f'{data_value} {mode} {typevalue(spec_value, field.type)}'
|
||||
x = eval(script)
|
||||
return x
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user