Browse Source

fixup: context.unset_data

jk-bakalarka
Jiří Kalvoda 8 months ago
parent
commit
71e5c5bbdc
  1. 2
      src/formatitko/context.py

2
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]

Loading…
Cancel
Save