Fix for keep encoding bug.

This commit is contained in:
Louis Vézina 2019-08-15 22:01:42 -04:00
parent 9ee50721cc
commit 3a7062c234
1 changed files with 1 additions and 1 deletions

View File

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