Continuing development.

pull/479/head
Louis Vézina 6 years ago
parent 75bf5a3653
commit dd5a05f9fb

@ -124,6 +124,7 @@ def download_subtitle(path, language, hi, forced, providers, providers_auth, sce
providers_auth['opensubtitles']['only_foreign'] = False providers_auth['opensubtitles']['only_foreign'] = False
for l in language: for l in language:
l = l.split(':')[0]
if l == 'pob': if l == 'pob':
lang_obj = Language('por', 'BR') lang_obj = Language('por', 'BR')
if forced == "True": if forced == "True":

Loading…
Cancel
Save