From f813708f61ab55ea5017c2da26a4ca29e5309936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 3 May 2019 13:37:29 -0400 Subject: [PATCH] Fix for #424. --- bazarr/get_subtitle.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 06eea4886..0a1605479 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -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)