mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-01 20:11:48 +00:00
Fixed pt-BR issue with subdl provider.
This commit is contained in:
parent
5886c20c9c
commit
a15b8d5602
1 changed files with 2 additions and 1 deletions
|
@ -130,7 +130,8 @@ class SubdlProvider(ProviderRetryMixin, Provider):
|
||||||
imdb_id = self.video.imdb_id
|
imdb_id = self.video.imdb_id
|
||||||
|
|
||||||
# be sure to remove duplicates using list(set())
|
# be sure to remove duplicates using list(set())
|
||||||
langs_list = sorted(list(set([lang.basename.upper() for lang in languages])))
|
langs_list = sorted(list(set([language_converters['subdl'].to_subdl[(lang.alpha3, lang.country, lang.script)]
|
||||||
|
for lang in languages])))
|
||||||
|
|
||||||
langs = ','.join(langs_list)
|
langs = ','.join(langs_list)
|
||||||
logger.debug(f'Searching for those languages: {langs}')
|
logger.debug(f'Searching for those languages: {langs}')
|
||||||
|
|
Loading…
Reference in a new issue