mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
RSS: don't output anything if there are no headlines remaining after filtering.
This commit is contained in:
parent
c270111c6b
commit
7c14992fe8
@ -207,6 +207,8 @@ class RSS(callbacks.Plugin):
|
||||
channelnewheadlines = filter(filter_whitelist, channelnewheadlines)
|
||||
if len(blacklist) != 0:
|
||||
channelnewheadlines = filter(filter_blacklist, channelnewheadlines)
|
||||
if len(channelnewheadlines) == 0:
|
||||
return
|
||||
bold = self.registryValue('bold', channel)
|
||||
sep = self.registryValue('headlineSeparator', channel)
|
||||
prefix = self.registryValue('announcementPrefix', channel)
|
||||
|
Loading…
Reference in New Issue
Block a user