diff --git a/benedict/utils/dict_util.py b/benedict/utils/dict_util.py index 40dd0eb..a1c5290 100644 --- a/benedict/utils/dict_util.py +++ b/benedict/utils/dict_util.py @@ -206,7 +206,6 @@ def traverse(d, callback): def unflatten(d, separator='_'): new_dict = d.copy() new_dict.clear() - new_dict_cursor = new_dict keys = list(d.keys()) for key in keys: value = d.get(key, None)