1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 08:13:14 +00:00

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

View file

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