diff --git a/lib/tvrage_api/tvrage_api.py b/lib/tvrage_api/tvrage_api.py index 8ed78223..d7a93a90 100644 --- a/lib/tvrage_api/tvrage_api.py +++ b/lib/tvrage_api/tvrage_api.py @@ -626,6 +626,9 @@ class TVRage: raise tvrage_showincomplete( "Show search returned incomplete results (cannot find complete show on TVRAGE)") + if 'episodelist' not in epsEt: + return False + seasons = epsEt['episodelist']['season'] if not isinstance(seasons, list): seasons = [seasons]