diff options
author | morpheus65535 <[email protected]> | 2023-12-31 15:59:16 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-31 15:59:16 -0500 |
commit | 902d1e62b8251c36a622f96bc40d6ef9f052997e (patch) | |
tree | 6b0b200c0aa0fa88ff10f0dc1fec5be5ef5cd49b | |
parent | b11f8100ac81f07727b19e87da26defdbbeb55a0 (diff) | |
download | bazarr-1.4.1-beta.11.tar.gz bazarr-1.4.1-beta.11.zip |
Fixed betaseries parsing issuev1.4.1-beta.11
-rw-r--r-- | libs/subliminal_patch/providers/betaseries.py | 2 |
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 [] |