From 0ee19d51ebadb9722cee3b735e9b7b8fa6734a72 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 27 Mar 2014 23:09:13 +0100 Subject: When doing a self.config.set in a plugin, save the config too --- src/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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""" -- cgit v1.2.3