1
Fork 0
mirror of https://github.com/RGBCube/JsonWrapper synced 2025-07-27 11:47:45 +00:00

Update db.py

This commit is contained in:
RGBCube 2022-01-14 21:06:41 +03:00 committed by GitHub
parent b99f67997c
commit 01b12caf87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
db.py
View file

@ -18,6 +18,7 @@ class ClutterDB:
def __init__(self, path_to_json: str):
self.path_to_json = path_to_json
self.utils = Utils()
self.utils.validate_json(self.
def set(self, key: str, value):
self.utils.validate_json(self.path_to_json)