Yifi: don't search empty results. fix #1900

This commit is contained in:
Ruud
2013-07-05 21:54:55 +02:00
parent 797dedfcbb
commit cdf9cf5cf4

View File

@@ -27,7 +27,7 @@ class Yify(TorrentProvider):
data = self.getJsonData(self.urls['search'] % (title, quality['identifier']))
if data:
if data and data.get('MovieList'):
try:
for result in data.get('MovieList'):