X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/1743224e7c43eab0eb8732575aca443f6222eba0..9eea81c9d065f1e74f6d5e7a31172c5eafe35a62:/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)