From bdd0adfef5845fe6de4f470260de31b5553190a4 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 9 Dec 2017 23:03:14 -0800 Subject: [PATCH] RSS: add missing configuration help for feed URL options This fixes confusing "That configuration group exists, but seems to have no help." errors on the URL options for feeds, when these options are actually relevant and settable. --- plugins/RSS/plugin.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/RSS/plugin.py b/plugins/RSS/plugin.py index 65716decd..1fe6d0ea2 100644 --- a/plugins/RSS/plugin.py +++ b/plugins/RSS/plugin.py @@ -234,7 +234,13 @@ class RSS(callbacks.Plugin): def register_feed_config(self, name, url=''): self.registryValue('feeds').add(name) group = self.registryValue('feeds', value=False) - conf.registerGlobalValue(group, name, registry.String(url, '')) + conf.registerGlobalValue(group, name, + registry.String(url, """The URL for the feed + %s. Note that because + announced lines are cached, + you may need to reload this + plugin after changing this + option.""" % name)) feed_group = conf.registerGroup(group, name) conf.registerChannelValue(feed_group, 'format', registry.String('', _("""Feed-specific format. Defaults to