This commit is contained in:
chrys 2017-05-07 20:00:33 +02:00
parent 9472a3f6fa
commit 7e77392c04
2 changed files with 4 additions and 4 deletions

View File

@ -99,7 +99,7 @@ interruptOnKeyPressFilter=
doubleTapTimeout=0.2
[general]
debugLevel=0
debugLevel=1
punctuationProfile=default
punctuationLevel=some
respectPunctuationPause=True

View File

@ -153,9 +153,9 @@ class driver():
self.lock.acquire(True)
self.proc = Popen(popenSpeechCommand, shell=True)
self.lock.release()
self.proc.wait() # critical for MT? - if we lock it we deadlock it maybe.
self.proc.wait()
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('speechDriver:worker:'str(e),debug.debugLevel.ERROR)
self.env['runtime']['debug'].writeDebugOut('speechDriver:worker:' + str(e),debug.debugLevel.ERROR)
self.lock.acquire(True)
self.proc = None
self.lock.release()