fullpath support in dict
This commit is contained in:
parent
61dbcea61d
commit
51a58efc09
|
@ -182,7 +182,7 @@ class _Value:
|
||||||
if self.config.is_hidden(key, None) is False:
|
if self.config.is_hidden(key, None) is False:
|
||||||
if flatten:
|
if flatten:
|
||||||
nkey = key.split('.')[-1]
|
nkey = key.split('.')[-1]
|
||||||
elif len_parent is not None:
|
elif not fullpath and len_parent is not None:
|
||||||
nkey = key[len_parent:]
|
nkey = key[len_parent:]
|
||||||
else:
|
else:
|
||||||
nkey = key
|
nkey = key
|
||||||
|
|
Loading…
Reference in New Issue