Browse Source

fixup of fixup: context.unset_data

git#
jk-bakalarka
Jiří Kalvoda 8 months ago
parent
commit
38029e3587
  1. 2
      src/formatitko/context.py

2
src/formatitko/context.py

@ -169,7 +169,7 @@ class Context:
def unset_data(self, key: str): def unset_data(self, key: str):
if key == "": if key == "":
self._doc = {} self._data = {}
data = self._data data = self._data
keys = key.split(".") keys = key.split(".")
for k in keys[:-1]: for k in keys[:-1]:

Loading…
Cancel
Save