Properly use imdb_results

This commit is contained in:
Ruud
2013-01-02 13:43:24 +01:00
parent bf4dc62f54
commit 015675750c
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -134,11 +134,11 @@ class YarrProvider(Provider):
return []
# Create result container
imdb_result = hasattr(self, '_search')
results = ResultList(self, movie, quality, imdb_result = imdb_result)
imdb_results = hasattr(self, '_search')
results = ResultList(self, movie, quality, imdb_results = imdb_results)
# Do search based on imdb id
if imdb_result:
if imdb_results:
self._search(movie, quality, results)
# Search possible titles
else:
@@ -29,7 +29,7 @@ class Newznab(NZBProvider, RSS):
def search(self, movie, quality):
hosts = self.getHosts()
results = ResultList(self, movie, quality, imdb_result = True)
results = ResultList(self, movie, quality, imdb_results = True)
for host in hosts:
if self.isDisabled(host):