mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-03 05:25:28 +00:00
Fixed betaseries parsing issue
This commit is contained in:
parent
b11f8100ac
commit
902d1e62b8
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class BetaSeriesProvider(Provider):
|
||||||
subtitles = []
|
subtitles = []
|
||||||
if 'episode' in result and 'subtitles' in result['episode']:
|
if 'episode' in result and 'subtitles' in result['episode']:
|
||||||
subs = result['episode']['subtitles']
|
subs = result['episode']['subtitles']
|
||||||
elif 'episodes' in result and len(result['episodes'] and 'subtitles' in result['episodes'][0]):
|
elif 'episodes' in result and len(result['episodes']) and 'subtitles' in result['episodes'][0]:
|
||||||
subs = result['episodes'][0]['subtitles']
|
subs = result['episodes'][0]['subtitles']
|
||||||
else:
|
else:
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in a new issue