From 6a7af0aabdc536706c4b65737acdd0942fc49ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 31 Jul 2019 16:04:52 -0400 Subject: [PATCH] Fix for downloading both forced and not forced when clicking on manual download link while having "Both" requested. --- views/movie.tpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/views/movie.tpl b/views/movie.tpl index 9eda04ed8..c1a1a06ef 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -220,8 +220,10 @@ for missing_subs_language in missing_subs_languages: if len(missing_subs_language) > 2: forced = missing_subs_language[2] + forced_bool = True else: forced = False + forced_bool = False end if details[14] is not None and settings.general.getboolean('adaptive_searching') and missing_subs_language in details[14]: @@ -229,12 +231,12 @@ if missing_subs_language in lang: if search_active(lang[1]): %> - + {{language_from_alpha2(str(missing_subs_language.split(':')[0]))}}{{' forced' if forced else ''}} %else: - + {{language_from_alpha2(str(missing_subs_language.split(':')[0]))}}{{' forced' if forced else ''}} @@ -244,7 +246,7 @@ end else: %> - + {{language_from_alpha2(str(missing_subs_language.split(':')[0]))}}{{' forced' if forced else ''}}