1
Fork 0
mirror of https://github.com/RGBCube/JsonWrapper synced 2025-07-27 11:47:45 +00:00
This commit is contained in:
RGBCube 2022-01-14 21:07:21 +03:00 committed by GitHub
parent 01b12caf87
commit fd3dd63136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
db.py
View file

@ -18,7 +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. self.utils.validate_json(path_to_json)
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)