From 3a7062c23477eccfe2092756775934909fa0369c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 15 Aug 2019 22:01:42 -0400 Subject: [PATCH] Fix for keep encoding bug. --- bazarr/get_subtitle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 0f8810536..1337a23f7 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -383,7 +383,7 @@ def manual_download_subtitle(path, language, hi, forced, subtitle, provider, pro if settings.general.getboolean('utf8_encode'): os.environ["SZ_KEEP_ENCODING"] = "" else: - os.environ["SZ_KEEP_ENCODING"] = True + os.environ["SZ_KEEP_ENCODING"] = "True" subtitle = pickle.loads(codecs.decode(subtitle.encode(), "base64")) use_scenename = settings.general.getboolean('use_scenename')