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:
parent
ee1506ed54
commit
a82f52f84b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue