Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
Louis Vézina 2020-07-29 09:41:20 -04:00
commit 05c3f638ba
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ def manual_upload_subtitle(path, language, forced, title, scene_name, media_type
if os.path.exists(subtitle_path):
os.remove(subtitle_path)
if settings.general.utf8_encode:
if settings.general.getboolean('utf8_encode'):
try:
os.remove(subtitle_path + ".tmp")
except: