mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
Fix for #1105
This commit is contained in:
parent
5d6f453d3f
commit
3336cea3d0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class SubSyncer:
|
||||||
logging.exception('BAZARR an exception occurs during the synchronization process for this subtitles: '
|
logging.exception('BAZARR an exception occurs during the synchronization process for this subtitles: '
|
||||||
'{0}'.format(self.srtin))
|
'{0}'.format(self.srtin))
|
||||||
else:
|
else:
|
||||||
if result['sync_was_successful']:
|
if os.path.isfile(self.srtout):
|
||||||
if not settings.subsync.getboolean('debug'):
|
if not settings.subsync.getboolean('debug'):
|
||||||
os.remove(self.srtin)
|
os.remove(self.srtin)
|
||||||
os.rename(self.srtout, self.srtin)
|
os.rename(self.srtout, self.srtin)
|
||||||
|
|
Loading…
Reference in a new issue