From cdf9cf5cf47b60ef78952d059883d422bb314854 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 5 Jul 2013 21:54:55 +0200 Subject: [PATCH] Yifi: don't search empty results. fix #1900 --- couchpotato/core/providers/torrent/yify/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/torrent/yify/main.py b/couchpotato/core/providers/torrent/yify/main.py index ad21362b..4c059463 100644 --- a/couchpotato/core/providers/torrent/yify/main.py +++ b/couchpotato/core/providers/torrent/yify/main.py @@ -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'):