fix interrupted speech
This commit is contained in:
parent
7d6e1008a5
commit
d6e8c5857b
@ -4,7 +4,8 @@ class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
environment['runtime']['speechDriver'].cancel()
|
||||
if environment['screenData']['newDelta'] != environment['screenData']['oldDelta']:
|
||||
environment['runtime']['speechDriver'].cancel()
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/python
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
if environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
|
||||
environment['runtime']['speechDriver'].cancel()
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user