mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-10 00:37:49 +08:00
subliminal_patch: hearing impaired fix
This commit is contained in:
parent
e3ee77d6ea
commit
258dc3a776
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def compute_score(matches, subtitle, video, hearing_impaired=None):
|
|||
matches |= {'title', 'year'}
|
||||
|
||||
# handle hearing impaired
|
||||
if hearing_impaired is not None and subtitle.hearing_impaired == hearing_impaired:
|
||||
if hearing_impaired is not None and subtitle.hearing_impaired == hearing_impaired and subtitle.hearing_impaired:
|
||||
logger.debug('Matched hearing_impaired')
|
||||
matches.add('hearing_impaired')
|
||||
|
||||
|
|
Loading…
Reference in a new issue