get_subtitle: properly cast language parameter to list

This commit is contained in:
panni 2018-11-29 14:59:18 +01:00
parent d222dfc3b2
commit cc2c55f043
1 changed files with 1 additions and 1 deletions

View File

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