summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-03-27 23:09:13 +0100
committermathieui <mathieui@mathieui.net>2014-03-27 23:09:13 +0100
commit0ee19d51ebadb9722cee3b735e9b7b8fa6734a72 (patch)
tree40910e45f3bb79e5e6c0f78710210ccb18691e0f /src
parent8d4202501d68e165ef85f720e72cb83ce384eab8 (diff)
downloadpoezio-0ee19d51ebadb9722cee3b735e9b7b8fa6734a72.tar.gz
poezio-0ee19d51ebadb9722cee3b735e9b7b8fa6734a72.tar.bz2
poezio-0ee19d51ebadb9722cee3b735e9b7b8fa6734a72.tar.xz
poezio-0ee19d51ebadb9722cee3b735e9b7b8fa6734a72.zip
When doing a self.config.set in a plugin, save the config too
Diffstat (limited to 'src')
-rw-r--r--src/plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.py b/src/plugin.py
index d25192b3..dfb0fff1 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -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"""