Fix profunc parse and html tabs. Resolve #2246

This commit is contained in:
Griatch 2020-11-11 00:41:58 +01:00
parent 4dd2e71448
commit b7b2872f43
3 changed files with 12 additions and 9 deletions

View file

@ -929,7 +929,10 @@ def init_spawn_value(value, validator=None):
value = validator(value[0](*make_iter(args)))
else:
value = validator(value)
return protfunc_parser(value)
result = protfunc_parser(value)
if result != value:
return validator(result)
return result
def value_to_obj_or_any(value):