Fix for keep encoding bug.

This commit is contained in:
Louis Vézina 2019-08-15 21:29:21 -04:00
parent 00f0843ed4
commit b0e44f82c0

View file

@ -108,7 +108,7 @@ def download_subtitle(path, language, hi, forced, providers, providers_auth, sce
if settings.general.getboolean('utf8_encode'):
os.environ["SZ_KEEP_ENCODING"] = ""
else:
os.environ["SZ_KEEP_ENCODING"] = True
os.environ["SZ_KEEP_ENCODING"] = "True"
logging.debug('BAZARR Searching subtitles for this file: ' + path)
if hi == "True":