Minor changes

This commit is contained in:
Loïc Guégan 2023-10-25 16:09:46 +02:00
parent 6b07024cd9
commit bdd896b87b

View file

@ -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]