no log: fix AttributeError on providers mixin

pull/1808/head
Vitiko 3 years ago
parent 75f3ac9f6c
commit 9a327b9e4d

@ -101,7 +101,9 @@ class ProviderSubtitleArchiveMixin(object):
if not isinstance(episodes, list):
episodes = [episodes]
episode_matches = episodes is not None and any(subtitle.episode == epi for epi in episodes)
episode_matches = False
if is_episode:
episode_matches = episodes is not None and any(subtitle.episode == epi for epi in episodes)
if not is_episode or (
(

Loading…
Cancel
Save