add first trigger

This commit is contained in:
chrys 2016-07-12 23:12:49 +02:00
parent af78d252ba
commit 7d6e1008a5

View File

@ -0,0 +1,13 @@
#!/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