From a1d7fa79dbc9ce20f8e3856b0863b8e28f18d93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Mon, 23 Jan 2017 17:58:47 +0100 Subject: [PATCH] Fix silent mycroft when config lacks enclosure/platform --- mycroft/client/speech/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/client/speech/main.py b/mycroft/client/speech/main.py index 223eb036aa..e1a8c6dda7 100644 --- a/mycroft/client/speech/main.py +++ b/mycroft/client/speech/main.py @@ -89,7 +89,7 @@ def handle_speak(event): # # TODO: Remove or make an option? This is really a hack, anyway, # so we likely will want to get rid of this when not running on Mimic - if not config.get('enclosure')['platform'] == "picroft": + if not config.get('enclosure', {}).get('platform') == "picroft": chunks = re.split(r'(?