From da71c4ad386c8de8fba96f95667fde357c608c4a Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 6 Jul 2016 00:01:59 +0200 Subject: [PATCH] tewak stop --- src/fenrir.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrir.py b/src/fenrir.py index b1b6dbac..69bd64d5 100755 --- a/src/fenrir.py +++ b/src/fenrir.py @@ -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'])