mirror of
https://github.com/moparisthebest/SickRage
synced 2024-10-31 15:35:01 -04:00
TVDB: Check if show has episodes
This commit is contained in:
parent
a57d94678d
commit
b33ebc0ca5
@ -875,6 +875,9 @@ class Tvdb:
|
|||||||
log().debug('Series results incomplete')
|
log().debug('Series results incomplete')
|
||||||
raise tvdb_showincomplete("Show search returned incomplete results (cannot find complete show on TVDB)")
|
raise tvdb_showincomplete("Show search returned incomplete results (cannot find complete show on TVDB)")
|
||||||
|
|
||||||
|
if 'episode' not in epsEt:
|
||||||
|
return False
|
||||||
|
|
||||||
episodes = epsEt["episode"]
|
episodes = epsEt["episode"]
|
||||||
if not isinstance(episodes, list):
|
if not isinstance(episodes, list):
|
||||||
episodes = [episodes]
|
episodes = [episodes]
|
||||||
|
Loading…
Reference in New Issue
Block a user