correction

This commit is contained in:
Emmanuel Garette 2018-08-19 09:24:17 +02:00
parent 201f7d2592
commit 5057572115
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ def manager_callback(callbk: Union[ParamOption, ParamValue],
return context.duplicate(force_values=get_default_values_storages(), return context.duplicate(force_values=get_default_values_storages(),
force_settings=get_default_settings_storages()) force_settings=get_default_settings_storages())
opt = callbk.option opt = callbk.option
if opt.issubdyn():
opt = opt.impl_get_dynoption(option._rootpath,
option.impl_getsuffix())
path = opt.impl_getpath(context) path = opt.impl_getpath(context)
if index is not None and opt.impl_is_master_slaves() and \ if index is not None and opt.impl_is_master_slaves() and \
opt.impl_get_master_slaves().in_same_group(option): opt.impl_get_master_slaves().in_same_group(option):