imporove quoting
This commit is contained in:
parent
5f983b0527
commit
b836d3c370
@ -37,7 +37,7 @@ class driver():
|
|||||||
try:
|
try:
|
||||||
self.server.sendline('tts_say ' + '\"' + text +'\"')
|
self.server.sendline('tts_say ' + '\"' + text +'\"')
|
||||||
#print(text.replace('"', '\\\"'))
|
#print(text.replace('"', '\\\"'))
|
||||||
#self.server.sendline('tts_say ' + '\"' + text.replace('"', '\\\"') +'\"')
|
self.server.sendline('tts_say ' + '"' + text.replace('"', '\"') +'"')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.env['runtime']['debug'].writeDebugOut('speechDriver:speak:self.server.sendline():' + str(e),debug.debugLevel.ERROR)
|
self.env['runtime']['debug'].writeDebugOut('speechDriver:speak:self.server.sendline():' + str(e),debug.debugLevel.ERROR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user