Skip to content

Commit

Permalink
Removed raising of OSError
Browse files Browse the repository at this point in the history
It was unnecessarily terminating a batch search.
This should fix morpheus65535#2584.
  • Loading branch information
JaiZed committed Aug 6, 2024
1 parent 5582cc0 commit fa50040
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bazarr/subtitles/tools/subsyncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ def sync(self, video_path, srt_path, srt_lang, hi, forced,
result = run(self.args)
except Exception:
logging.exception(
f'BAZARR an exception occurs during the synchronization process for this subtitles: {self.srtin}')
raise OSError
f'BAZARR an exception occurs during the synchronization process for this subtitle file: {self.srtin}')
else:
if settings.subsync.debug:
return result
Expand Down

0 comments on commit fa50040

Please sign in to comment.