mirror of https://github.com/morpheus65535/bazarr
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
commit
05c3f638ba
|
@ -577,7 +577,7 @@ def manual_upload_subtitle(path, language, forced, title, scene_name, media_type
|
||||||
if os.path.exists(subtitle_path):
|
if os.path.exists(subtitle_path):
|
||||||
os.remove(subtitle_path)
|
os.remove(subtitle_path)
|
||||||
|
|
||||||
if settings.general.utf8_encode:
|
if settings.general.getboolean('utf8_encode'):
|
||||||
try:
|
try:
|
||||||
os.remove(subtitle_path + ".tmp")
|
os.remove(subtitle_path + ".tmp")
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue