Don't try to get rss urls when there are none
This commit is contained in:
parent
ad7f9a8024
commit
c765a29d09
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
hooks[url] = []
|
hooks[url] = []
|
||||||
hooks[url].append((server, channel))
|
hooks[url].append((server, channel))
|
||||||
|
|
||||||
|
if not hooks:
|
||||||
|
return
|
||||||
|
|
||||||
pages = utils.http.request_many(hooks.keys())
|
pages = utils.http.request_many(hooks.keys())
|
||||||
|
|
||||||
for url, channels in hooks.items():
|
for url, channels in hooks.items():
|
||||||
|
|
Loading…
Reference in a new issue