Skip to content

Commit

Permalink
Fixed issue introduced while merging the new sync feature. #2356
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Jan 12, 2024
1 parent 783e6b3 commit e4ebc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/subtitles/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def sync_subtitles(video_path, srt_path, srt_lang, forced, percent_score, sonarr
else:
logging.debug(f'BAZARR automatic syncing is enabled in settings. We\'ll try to sync this '
f'subtitles: {srt_path}.')
if media_type == 'series':
if sonarr_episode_id:
use_subsync_threshold = settings.subsync.use_subsync_threshold
subsync_threshold = settings.subsync.subsync_threshold
else:
Expand Down

0 comments on commit e4ebc64

Please sign in to comment.