mirror of https://github.com/morpheus65535/bazarr
Fixed issue introduced while merging the new sync feature. #2356
This commit is contained in:
parent
783e6b38ea
commit
e4ebc64ca9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue