This commit is contained in:
Louis Vézina 2019-05-03 13:37:29 -04:00
parent 9064583853
commit f813708f61
1 changed files with 4 additions and 4 deletions

View File

@ -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)