Browse Source

Fixed typo in context.unset_data

Picked from 71e5c5b and 38029e3
master
Jan Černohorský 8 months ago
parent
commit
fa6b772674
  1. 4
      src/formatitko/context.py

4
src/formatitko/context.py

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

Loading…
Cancel
Save