mirror of
https://gitlab.com/manzerbredes/clusterman.git
synced 2025-04-07 04:26:25 +02:00
Minor changes
This commit is contained in:
parent
6b07024cd9
commit
bdd896b87b
1 changed files with 3 additions and 0 deletions
|
@ -20,3 +20,6 @@ class Config:
|
||||||
def save(self):
|
def save(self):
|
||||||
with open(self.CONF_FILE, "w") as f:
|
with open(self.CONF_FILE, "w") as f:
|
||||||
f.write(json.dumps(self.config))
|
f.write(json.dumps(self.config))
|
||||||
|
|
||||||
|
def __getitem__(self, key):
|
||||||
|
return self.config[key]
|
||||||
|
|
Loading…
Add table
Reference in a new issue