Don't try to get rss urls when there are none

This commit is contained in:
jesopo 2019-07-16 10:45:29 +01:00
parent ad7f9a8024
commit c765a29d09

View file

@ -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():