summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/subliminal_patch/providers/subf2m.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/subliminal_patch/providers/subf2m.py b/libs/subliminal_patch/providers/subf2m.py
index 11a60f99b..2f400287d 100644
--- a/libs/subliminal_patch/providers/subf2m.py
+++ b/libs/subliminal_patch/providers/subf2m.py
@@ -377,6 +377,8 @@ class Subf2mProvider(Provider):
logger.debug("No results")
return []
+ languages = set([lang for lang in languages if lang in self.languages])
+
subs = []
for path in paths:
must_break = False