run formatter

This commit is contained in:
Jonathan Wren 2024-02-26 20:07:32 -08:00
parent 0c5270224a
commit 86886394c0
No known key found for this signature in database

View file

@ -8,8 +8,9 @@ if TYPE_CHECKING:
from jrnl.journals import Journal from jrnl.journals import Journal
"""https://stackoverflow.com/a/74873621/8740440"""
class NestedDict(dict): class NestedDict(dict):
"""https://stackoverflow.com/a/74873621/8740440"""
def __missing__(self, x): def __missing__(self, x):
self[x] = NestedDict() self[x] = NestedDict()
return self[x] return self[x]