Private GIT

Skip to content
Snippets Groups Projects
Commit a946f8ac authored by echel0n's avatar echel0n
Browse files

Fix for issue #1009 - added show and release_group attributes to properFinder module.

parent e6389e47
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ class SearchResult:
def __str__(self):
if self.provider == None:
if self.provider is None:
return "Invalid provider, unable to print self"
myString = self.provider.name + " @ " + self.url + "\n"
......
......@@ -136,6 +136,7 @@ class ProperFinder():
curProper.indexer = parse_result.show.indexer
# populate our Proper instance
curProper.show = parse_result.show
curProper.season = parse_result.season_number if parse_result.season_number is not None else 1
curProper.episode = parse_result.episode_numbers[0]
curProper.release_group = parse_result.release_group
......@@ -252,9 +253,11 @@ class ProperFinder():
# make the result object
result = curProper.provider.getResult([epObj])
result.show = curProper.show
result.url = curProper.url
result.name = curProper.name
result.quality = curProper.quality
result.release_group = curProper.release_group
result.version = curProper.version
# snatch it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment