Revert "subliminal_patch: hearing impaired fix"

This reverts commit 258dc3a7
pull/835/head
Louis Vézina 5 years ago
parent fcfb678c22
commit 9455847a0e

@ -113,7 +113,7 @@ def compute_score(matches, subtitle, video, hearing_impaired=None):
matches |= {'title', 'year'} matches |= {'title', 'year'}
# handle hearing impaired # handle hearing impaired
if hearing_impaired is not None and subtitle.hearing_impaired == hearing_impaired and subtitle.hearing_impaired: if hearing_impaired is not None and subtitle.hearing_impaired == hearing_impaired:
logger.debug('Matched hearing_impaired') logger.debug('Matched hearing_impaired')
matches.add('hearing_impaired') matches.add('hearing_impaired')

Loading…
Cancel
Save