Fix for version attribute error

This commit is contained in:
echel0n 2014-08-17 18:19:58 -07:00
parent c019ffef97
commit 4fdbb24587

View file

@ -102,7 +102,9 @@ class SearchResult:
# release group
self.release_group = ""
# version
self.version = -1
def __str__(self):
if self.provider == None:
@ -218,7 +220,9 @@ class Proper:
self.date = date
self.provider = None
self.quality = Quality.UNKNOWN
self.release_group = None
self.version = -1
self.show = show
self.indexer = None
self.indexerid = -1