From 6179c8dfad0e9f4deb33c407e2af613adb8402a4 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 20 Aug 2014 16:34:42 +0800 Subject: [PATCH] Fix for torrent rss feeds not validating on add --- sickbeard/providers/rsstorrent.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sickbeard/providers/rsstorrent.py b/sickbeard/providers/rsstorrent.py index d01c7dcd..936b4623 100644 --- a/sickbeard/providers/rsstorrent.py +++ b/sickbeard/providers/rsstorrent.py @@ -95,11 +95,8 @@ class TorrentRssProvider(generic.TorrentProvider): if not cookie_validator.match(self.cookies): return (False, 'Cookie is not correctly formatted: ' + self.cookies) - data = self.cache._getRSSData() - if not data: - return (False, 'No data returned from url: ' + self.url) - - items = data.entries + items = self.cache._getDailyData() + if not len(items) > 0: return (False, 'No items found in the RSS feed ' + self.url)