Skip to content

Commit e24e633

Browse files
committed
Removed type hint for _synthesizerRate (not needed here, since it is already defined globally)
1 parent 3c08005 commit e24e633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/globalPlugins/MathCAT/MathCAT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def getSpeechForMathMl(
550550
synth: SynthDriver = getSynth()
551551
synthConfig = config.conf["speech"][synth.name]
552552
if synth.name == "espeak":
553-
_synthesizerRate: int = synthConfig["rate"]
553+
_synthesizerRate = synthConfig["rate"]
554554
# log.info(f'_synthesizer_rate={_synthesizer_rate}, get_rate()={getSynth()._get_rate()}')
555555
getSynth()._set_rate(_synthesizerRate)
556556
# log.info(f'..............get_rate()={getSynth()._get_rate()}, name={synth.name}')

0 commit comments

Comments
 (0)