typo
This commit is contained in:
parent
8bc3f07b28
commit
972f6e57dd
|
|
@ -93,7 +93,7 @@ class GrungDB(TinyDB):
|
|||
|
||||
def __init__(self, path: Path, *args, **kwargs):
|
||||
self.path = path
|
||||
if kwargs["storage"] != MemoryStorage:
|
||||
if kwargs.get("storage") != MemoryStorage:
|
||||
args = (path,) + args
|
||||
super().__init__(*args, **kwargs)
|
||||
self.create_table(Record)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user