bugfix
This commit is contained in:
parent
eccb3f43b6
commit
69b905b049
@ -165,7 +165,7 @@ def check_value(field, spec_value, data_value):
|
||||
|
||||
def data_mapping(ns, name, v):
|
||||
if f'{name}_mappings' in ns.keys():
|
||||
mappings = ns[f'{name}_mappings'].get(name)
|
||||
mappings = ns[f'{name}_mappings']
|
||||
if mappings:
|
||||
return mappings.get(v, v)
|
||||
return v
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user