From 4fdbb245878b86ce3144a9920eea2aa172ab5a28 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 17 Aug 2014 18:19:58 -0700 Subject: [PATCH] Fix for version attribute error --- sickbeard/classes.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sickbeard/classes.py b/sickbeard/classes.py index eb2f4033..5d2d6948 100644 --- a/sickbeard/classes.py +++ b/sickbeard/classes.py @@ -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