diff options
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] |
