mirror of
https://github.com/RGBCube/JsonWrapper
synced 2025-07-27 11:47:45 +00:00
Update db.py
This commit is contained in:
parent
b99f67997c
commit
01b12caf87
1 changed files with 1 additions and 0 deletions
1
db.py
1
db.py
|
@ -18,6 +18,7 @@ class ClutterDB:
|
||||||
def __init__(self, path_to_json: str):
|
def __init__(self, path_to_json: str):
|
||||||
self.path_to_json = path_to_json
|
self.path_to_json = path_to_json
|
||||||
self.utils = Utils()
|
self.utils = Utils()
|
||||||
|
self.utils.validate_json(self.
|
||||||
|
|
||||||
def set(self, key: str, value):
|
def set(self, key: str, value):
|
||||||
self.utils.validate_json(self.path_to_json)
|
self.utils.validate_json(self.path_to_json)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue