From b836d3c37049fe372442225e2a8991f62f6cbc03 Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 22 Oct 2017 22:36:06 +0200 Subject: [PATCH] imporove quoting --- src/fenrir/speechDriver/emacspeakDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/speechDriver/emacspeakDriver.py b/src/fenrir/speechDriver/emacspeakDriver.py index 6039e966..53981452 100644 --- a/src/fenrir/speechDriver/emacspeakDriver.py +++ b/src/fenrir/speechDriver/emacspeakDriver.py @@ -37,7 +37,7 @@ class driver(): try: self.server.sendline('tts_say ' + '\"' + text +'\"') #print(text.replace('"', '\\\"')) - #self.server.sendline('tts_say ' + '\"' + text.replace('"', '\\\"') +'\"') + self.server.sendline('tts_say ' + '"' + text.replace('"', '\"') +'"') except Exception as e: self.env['runtime']['debug'].writeDebugOut('speechDriver:speak:self.server.sendline():' + str(e),debug.debugLevel.ERROR)