no log: Subf2m provider: avoid iterating over unsupported languages

pull/2131/head
Vitiko 2 years ago
parent ee1506ed54
commit a82f52f84b

@ -377,6 +377,8 @@ class Subf2mProvider(Provider):
logger.debug("No results") logger.debug("No results")
return [] return []
languages = set([lang for lang in languages if lang in self.languages])
subs = [] subs = []
for path in paths: for path in paths:
must_break = False must_break = False

Loading…
Cancel
Save