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