From 3336cea3d0ba9b765085fe48ceb25dc8100668d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 14 Sep 2020 10:17:21 -0400 Subject: [PATCH] Fix for #1105 --- bazarr/subsyncer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/subsyncer.py b/bazarr/subsyncer.py index 220f492ae..780b24f90 100644 --- a/bazarr/subsyncer.py +++ b/bazarr/subsyncer.py @@ -53,7 +53,7 @@ class SubSyncer: logging.exception('BAZARR an exception occurs during the synchronization process for this subtitles: ' '{0}'.format(self.srtin)) else: - if result['sync_was_successful']: + if os.path.isfile(self.srtout): if not settings.subsync.getboolean('debug'): os.remove(self.srtin) os.rename(self.srtout, self.srtin)