mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 01:57:33 +00:00
Fix for keep encoding bug.
This commit is contained in:
parent
9ee50721cc
commit
3a7062c234
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ def manual_download_subtitle(path, language, hi, forced, subtitle, provider, pro
|
||||||
if settings.general.getboolean('utf8_encode'):
|
if settings.general.getboolean('utf8_encode'):
|
||||||
os.environ["SZ_KEEP_ENCODING"] = ""
|
os.environ["SZ_KEEP_ENCODING"] = ""
|
||||||
else:
|
else:
|
||||||
os.environ["SZ_KEEP_ENCODING"] = True
|
os.environ["SZ_KEEP_ENCODING"] = "True"
|
||||||
|
|
||||||
subtitle = pickle.loads(codecs.decode(subtitle.encode(), "base64"))
|
subtitle = pickle.loads(codecs.decode(subtitle.encode(), "base64"))
|
||||||
use_scenename = settings.general.getboolean('use_scenename')
|
use_scenename = settings.general.getboolean('use_scenename')
|
||||||
|
|
Loading…
Reference in a new issue