diff --git a/jrnl/plugins/util.py b/jrnl/plugins/util.py index 56d11906..6b569016 100644 --- a/jrnl/plugins/util.py +++ b/jrnl/plugins/util.py @@ -8,8 +8,9 @@ if TYPE_CHECKING: from jrnl.journals import Journal -"""https://stackoverflow.com/a/74873621/8740440""" class NestedDict(dict): + """https://stackoverflow.com/a/74873621/8740440""" + def __missing__(self, x): self[x] = NestedDict() return self[x]