From c765a29d09dc8fa8a7304342c44b669d365f682b Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 16 Jul 2019 10:45:29 +0100 Subject: [PATCH] Don't try to get rss urls when there are none --- modules/rss.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/rss.py b/modules/rss.py index 6f94a7cd..2ab3dbff 100644 --- a/modules/rss.py +++ b/modules/rss.py @@ -51,6 +51,9 @@ class Module(ModuleManager.BaseModule): hooks[url] = [] hooks[url].append((server, channel)) + if not hooks: + return + pages = utils.http.request_many(hooks.keys()) for url, channels in hooks.items():