Skip to content

Commit

Permalink
Cleanup: we only need to intercept one speech.speech.speak function
Browse files Browse the repository at this point in the history
  • Loading branch information
mltony committed Jul 9, 2023
1 parent 2c8a1ac commit e446851
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion addon/globalPlugins/bluetoothAudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def wrapperFunc(*args, **kwargs):
hookFunc()
return targetFunc(*args, **kwargs)
return wrapperFunc
speech.speak = makeInterceptFunc(speech.speak, resetCounter)
speech.speech.speak = makeInterceptFunc(speech.speech.speak, resetCounter)
tones.initialize = makeInterceptFunc(tones.initialize, lambda: resetCounter(reopen=True))

Expand Down

0 comments on commit e446851

Please sign in to comment.