fenrir/src/fenrir-package/commands/onInput/10000-shut_up.py

14 lines
379 B
Python
Raw Normal View History

2016-07-12 17:09:11 -04:00
#!/bin/python
class command():
def __init__(self):
pass
def run(self, environment):
2016-07-13 04:37:05 -04:00
if environment['screenData']['newDelta'] != environment['screenData']['oldDelta']:
environment['runtime']['speechDriver'].cancel()
2016-07-12 17:09:11 -04:00
return environment
def setCallback(self, callback):
pass
def shutdown(self):
pass