From 71e5c5bbdce0fc2021f2ab03662993f9ee3c682e Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda Date: Sun, 17 Mar 2024 22:30:48 +0100 Subject: [PATCH] fixup: context.unset_data --- src/formatitko/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formatitko/context.py b/src/formatitko/context.py index 1e0a9e9..015401c 100644 --- a/src/formatitko/context.py +++ b/src/formatitko/context.py @@ -170,7 +170,7 @@ class Context: def unset_data(self, key: str): if key == "": self._doc = {} - data = self._doc + data = self._data keys = key.split(".") for k in keys[:-1]: data = data[k]