aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-01 21:15:06 +0100
committerGravatar jesopo2019-07-01 21:15:06 +0100
commit08c723f9d06c25a438004bbe4d69334964106c70 (patch)
tree7e6bc153cc51c20d013c9e36415010b773e3c906 /modules
parentMake ignore logic PRIORITY_HIGH so it catches before format events (diff)
signature
We should be parsing out (server, channel) for rss hooks
Diffstat (limited to 'modules')
-rw-r--r--modules/rss.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rss.py b/modules/rss.py
index f8dcf134..c1824056 100644
--- a/modules/rss.py
+++ b/modules/rss.py
@@ -32,7 +32,7 @@ class Module(ModuleManager.BaseModule):
for url in urls:
if not url in hooks:
hooks[url] = []
- hooks[url].append(channel)
+ hooks[url].append((server, channel))
for url, channels in hooks.items():
try:
@@ -47,7 +47,7 @@ class Module(ModuleManager.BaseModule):
feed_title = feed["feed"]["title"]
entry_formatted = {}
- for channel in channels:
+ for server, channel in channels:
seen_ids = channel.get_setting("rss-seen-ids-%s" % url, [])
new_ids = []
valid = 0