Fix for keep encoding bug.

pull/551/head
Louis Vézina 5 years ago
parent 9ee50721cc
commit 3a7062c234

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

Loading…
Cancel
Save