From 18efdb2370a973fb6d55a9200a39501f130c3bab Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 28 Aug 2014 22:22:55 -0700 Subject: [PATCH] Fixed TorrentSearchResult instance has no attribute 'content' errpr --- sickbeard/classes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sickbeard/classes.py b/sickbeard/classes.py index 3622d6ea..962df06e 100644 --- a/sickbeard/classes.py +++ b/sickbeard/classes.py @@ -148,8 +148,10 @@ class TorrentSearchResult(SearchResult): resultType = "torrent" # torrent hash + content = None hash = None + class AllShowsListUI: """ This class is for indexer api. Instead of prompting with a UI to pick the @@ -178,7 +180,7 @@ class AllShowsListUI: seriesnames.append(curShow['seriesname']) if 'aliasnames' in curShow: seriesnames.extend(curShow['aliasnames'].split('|')) - + for name in seriesnames: if searchterm.lower() in name.lower(): if 'firstaired' not in curShow: @@ -192,6 +194,7 @@ class AllShowsListUI: return searchResults + class ShowListUI: """ This class is for tvdb-api. Instead of prompting with a UI to pick the @@ -225,7 +228,7 @@ class Proper: self.quality = Quality.UNKNOWN self.release_group = None self.version = -1 - + self.show = show self.indexer = None self.indexerid = -1