pull/427/head
Louis Vézina 6 years ago
parent 9064583853
commit f813708f61

@ -105,9 +105,9 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName,
logging.debug('BAZARR Searching subtitles for this file: ' + path)
if hi == "True":
hi = True
hi = "force HI"
else:
hi = False
hi = "force non-HI"
language_set = set()
if not isinstance(language, types.ListType):
@ -253,9 +253,9 @@ def manual_search(path, language, hi, providers, providers_auth, sceneName, titl
final_subtitles = []
if hi == "True":
hi = True
hi = "force HI"
else:
hi = False
hi = "force non-HI"
language_set = set()
for lang in ast.literal_eval(language):
lang = alpha3_from_alpha2(lang)

Loading…
Cancel
Save