Skip to content

Commit

Permalink
Fix for keep encoding bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Aug 16, 2019
1 parent 9ee5072 commit 3a7062c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/get_subtitle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 3a7062c

Please sign in to comment.