File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
NVDA-addon/addon/globalPlugins/MathCAT Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def ConvertSSMLTextForNVDA(text, language=""):
8080 for m in RE_MP_SPEECH .finditer (text ):
8181 if m .lastgroup == "break" :
8282 if use_break :
83- out .append (BreakCommand (time = int (m .group ("break" )) * breakMulti ))
83+ out .append (BreakCommand (time = int (int ( m .group ("break" )) * breakMulti ) ))
8484 elif m .lastgroup == "char" :
8585 # get the NVDA settings for what to do for a capital char and apply them
8686 ch = m .group ("char" )
@@ -118,7 +118,6 @@ def ConvertSSMLTextForNVDA(text, language=""):
118118 # MathCAT puts out spaces between words, the speak command seems to want to glom the strings together at times,
119119 # so we need to add individual " "s to the output
120120 out .extend ((" " , m .group (0 ), " " ))
121-
122121 if language :
123122 out .append (LangChangeCommand (None ))
124123 return out
You can’t perform that action at this time.
0 commit comments