no log: Subf2m provider: avoid iterating over unsupported languages

This commit is contained in:
Vitiko 2023-06-13 02:51:36 -04:00
parent ee1506ed54
commit a82f52f84b
1 changed files with 2 additions and 0 deletions

View File

@ -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