This commit is contained in:
Louis Vézina 2020-09-14 10:17:21 -04:00
parent 5d6f453d3f
commit 3336cea3d0
1 changed files with 1 additions and 1 deletions

View File

@ -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)