From 5a1184eff94be633243532caf3d0b496d9365347 Mon Sep 17 00:00:00 2001 From: Arron Atchison Date: Sun, 21 Aug 2016 13:32:28 -0500 Subject: [PATCH] Fixed issue #334 with a try: clause --- mycroft/client/speech/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mycroft/client/speech/main.py b/mycroft/client/speech/main.py index 40a3ef356e..2853b6f298 100644 --- a/mycroft/client/speech/main.py +++ b/mycroft/client/speech/main.py @@ -124,7 +124,10 @@ def main(): event_thread.setDaemon(True) event_thread.start() - subprocess.call('echo "eyes.reset" >/dev/ttyAMA0', shell=True) + try: + subprocess.call('echo "eyes.reset" >/dev/ttyAMA0', shell=True) + except: + pass try: loop.run()