mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-12 17:25:07 +00:00
Fix check for utf8_encode when manually upload subtitles
This commit is contained in:
parent
131c43fae5
commit
499581f0c6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue