diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-25 16:09:46 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-25 16:09:46 +0200 |
| commit | bdd896b87bf14d8630175247d7db8603c60609e5 (patch) | |
| tree | ef032a29e3aeb3953789d2846c1e583361e8a101 /clusterman | |
| parent | 6b07024cd93742dacfaf9d151e888f058615486f (diff) | |
Minor changes
Diffstat (limited to 'clusterman')
| -rw-r--r-- | clusterman/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clusterman/config.py b/clusterman/config.py index 761efdf..b4547de 100644 --- a/clusterman/config.py +++ b/clusterman/config.py @@ -20,3 +20,6 @@ class Config: def save(self): with open(self.CONF_FILE, "w") as f: f.write(json.dumps(self.config)) + + def __getitem__(self, key): + return self.config[key] |
