X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/a76c4bd839599267b085866245396a2cf88e202c..c0eee1b4d5047e32c615f7e02e05e2233a1b92af:/config.py diff --git a/config.py b/config.py index c8a461b..ab3f467 100644 --- a/config.py +++ b/config.py @@ -25,6 +25,12 @@ class Config(object): def items(self, section='erebus'): return self.config.items(section) + def get(self, section, key): + return self.config.get(section, key) + + def set(self, section, key, value): + self.config.set(section, key, value) + def write(self): with open(self.filename, 'wb') as configfile: self.config.write(configfile)