aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-12-31 15:59:16 -0500
committerGitHub <[email protected]>2023-12-31 15:59:16 -0500
commit902d1e62b8251c36a622f96bc40d6ef9f052997e (patch)
tree6b0b200c0aa0fa88ff10f0dc1fec5be5ef5cd49b /libs
parentb11f8100ac81f07727b19e87da26defdbbeb55a0 (diff)
downloadbazarr-902d1e62b8251c36a622f96bc40d6ef9f052997e.tar.gz
bazarr-902d1e62b8251c36a622f96bc40d6ef9f052997e.zip
Fixed betaseries parsing issuev1.4.1-beta.11
Diffstat (limited to 'libs')
-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 []