aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 42d2e54..2719d14 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2450,6 +2450,9 @@ class PluginConfig(object):
w.config_set_plugin(key, default)
self.config_changed(None, None, None)
+ def __str__(self):
+ return "".join([x + "\t" + str(self.settings[x]) + "\n" for x in self.settings.keys()])
+
def config_changed(self, data, key, value):
for key in self.settings:
self.settings[key] = self.fetch_setting(key)