When doing a self.config.set in a plugin, save the config too

This commit is contained in:
mathieui 2014-03-27 23:09:13 +01:00
parent 8d4202501d
commit 0ee19d51eb

View file

@ -31,7 +31,7 @@ class PluginConfig(config.Config):
def set(self, option, default, section=None):
if not section:
section = self.module_name
return config.Config.set(self, option, default, section)
return config.Config.set_and_save(self, option, default, section)
def read(self):
"""Read the config file"""