Fixed issue introduced while merging the new sync feature. #2356

This commit is contained in:
morpheus65535 2024-01-12 16:45:37 -05:00
parent 783e6b38ea
commit e4ebc64ca9
1 changed files with 1 additions and 1 deletions

View File

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