mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
RSS: fix bug failing to define a variable under some conditions before referencing it.
This commit is contained in:
parent
a345262846
commit
c270111c6b
@ -199,6 +199,8 @@ class RSS(callbacks.Plugin):
|
||||
for channel in channels:
|
||||
if len(oldheadlines) == 0:
|
||||
channelnewheadlines = newheadlines[:self.registryValue('initialAnnounceHeadlines', channel)]
|
||||
else:
|
||||
channelnewheadlines = newheadlines[:]
|
||||
whitelist = self.registryValue('keywordWhitelist', channel)
|
||||
blacklist = self.registryValue('keywordBlacklist', channel)
|
||||
if len(whitelist) != 0:
|
||||
|
Loading…
Reference in New Issue
Block a user