tewak stop

This commit is contained in:
chrys 2016-07-06 00:01:59 +02:00
parent af17f409ec
commit da71c4ad38

View File

@ -45,7 +45,8 @@ while(runtime['running']):
# changes on the screen
if runtime['oldContentBytes'] != runtime['newContentBytes']:
runtime['speechDriver'].stop()
if len(newContentText) < 3:
runtime['speechDriver'].stop()
print("tty3 changed")
diff = difflib.ndiff(runtime['oldContentText'], runtime['newContentText'])