From 77696cad66c91982d238965858228cfb4028f3ec Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 22 Apr 2014 03:13:44 -0700 Subject: [PATCH] Fix for rss torrent feeds, resolves issue #32 --- sickbeard/providers/rsstorrent.py | 1 - sickbeard/webserve.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sickbeard/providers/rsstorrent.py b/sickbeard/providers/rsstorrent.py index 93aa3aec..edfb267f 100644 --- a/sickbeard/providers/rsstorrent.py +++ b/sickbeard/providers/rsstorrent.py @@ -113,7 +113,6 @@ class TorrentRssProvider(generic.TorrentProvider): if url.startswith('magnet:') and re.search('urn:btih:([\w]{32,40})', url): return (True, 'RSS feed Parsed correctly') else: - torrent_file = self.getURL(url) try: bdecode(torrent_file) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index cb7d46b4..de74663d 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -1364,9 +1364,8 @@ class ConfigProviders: return providerDict[name].getID() + '|' + providerDict[name].configStr() else: - newProvider = rsstorrent.TorrentRssProvider(name, url) - sickbeard.TorrentRssProviderList.append(newProvider) + sickbeard.torrentRssProviderList.append(newProvider) return newProvider.getID() + '|' + newProvider.configStr() @cherrypy.expose