Fix for TorrentSearchResult instance has no attribute 'hash'

This commit is contained in:
echel0n 2014-08-21 23:32:09 -07:00
parent a3449db3d3
commit 328597411e

View file

@ -104,7 +104,7 @@ class SearchResult:
# version # version
self.version = -1 self.version = -1
def __str__(self): def __str__(self):
if self.provider == None: if self.provider == None:
@ -147,6 +147,9 @@ class TorrentSearchResult(SearchResult):
""" """
resultType = "torrent" resultType = "torrent"
# torrent hash
hash = None
class AllShowsListUI: class AllShowsListUI:
""" """
This class is for indexer api. Instead of prompting with a UI to pick the This class is for indexer api. Instead of prompting with a UI to pick the