Better sentence spacing

This commit is contained in:
Henk
2022-06-26 20:27:21 +02:00
parent 8cea194809
commit 46678931b2
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ def addsentencespacing(txt, vars):
else:
action = vars.prompt
lastchar = action[-1] if len(action) else ""
if(lastchar == "." or lastchar == "!" or lastchar == "?" or lastchar == "," or lastchar == ";" or lastchar == ":"):
if(lastchar != " "):
txt = " " + txt
return txt