Private GIT

Skip to content
Snippets Groups Projects
Commit 550354ed authored by miigotu's avatar miigotu
Browse files

Merge pull request #557 from SickRage/fix_anime

Fix 'Error while searching AnimeNZB, skipping: entries'
parents 552b2be6 b98302ed
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,8 @@ class animenzb(NZBProvider):
searchURL = self.url + "rss?" + urllib.urlencode(params)
logger.log(u"Search URL: %s" % searchURL, logger.DEBUG)
results = []
for curItem in self.cache.getRSSFeed(searchURL)['entries'] or []:
if 'entries' in self.cache.getRSSFeed(searchURL):
for curItem in self.cache.getRSSFeed(searchURL)['entries']:
(title, url) = self._get_title_and_url(curItem)
if title and url:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment