mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
run formatter
This commit is contained in:
parent
0c5270224a
commit
86886394c0
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue