mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-04 15:12:23 -05:00
TVRage: Check if show has episodes
Check if node episodelist exist in tvrage show. e.g. New show without episodes
This commit is contained in:
parent
c62d8f2c79
commit
a57d94678d
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user