Commit 0ee19d51 authored by mathieui's avatar mathieui

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

parent 8d420250
......@@ -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"""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment