aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 73b0d79..ed96f03 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2497,7 +2497,10 @@ class PluginConfig(object):
def fetch_setting(self, key):
if hasattr(self, 'get_' + key):
- return getattr(self, 'get_' + key)(key)
+ try:
+ return getattr(self, 'get_' + key)(key)
+ except:
+ return self.settings[key]
else:
# Most settings are on/off, so make get_boolean the default
return self.get_boolean(key)