summaryrefslogtreecommitdiffhomepage
path: root/libs/subliminal_patch/providers/betaseries.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/subliminal_patch/providers/betaseries.py')
-rw-r--r--libs/subliminal_patch/providers/betaseries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/betaseries.py b/libs/subliminal_patch/providers/betaseries.py
index a11179406..4cd66401c 100644
--- a/libs/subliminal_patch/providers/betaseries.py
+++ b/libs/subliminal_patch/providers/betaseries.py
@@ -114,7 +114,7 @@ class BetaSeriesProvider(Provider):
subtitles = []
if 'episode' in result and 'subtitles' in result['episode']:
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']
else:
return []