Fixed cancel condition for kernel feed
This commit is contained in:
parent
fb23b9d340
commit
325c7f47a3
@ -45,7 +45,7 @@ class Linux(Plugin):
|
||||
feed = feedparser.parse(self.KERNEL_FEED)
|
||||
|
||||
# Cancel if no feed or entries
|
||||
if not feed or 'entries' in feed:
|
||||
if not feed or not feed.get('entries'):
|
||||
self.log.error('Error fetching kernel.org releases feed.')
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user