fullpath support in dict

This commit is contained in:
Emmanuel Garette 2019-07-26 11:05:52 +02:00
parent 61dbcea61d
commit 51a58efc09
1 changed files with 1 additions and 1 deletions

View File

@ -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