mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-15 00:18:48 +00:00
get_subtitle: properly cast language parameter to list
This commit is contained in:
parent
d222dfc3b2
commit
cc2c55f043
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName,
|
|||
language_set = set()
|
||||
|
||||
if not isinstance(language, types.ListType):
|
||||
language = list(language)
|
||||
language = [language]
|
||||
|
||||
for l in language:
|
||||
if l == 'pob':
|
||||
|
|
Loading…
Add table
Reference in a new issue