#706 - checking network connection

pull/754/head
Augusto Monteiro 'Sparky 2017-04-27 17:32:48 -07:00
parent a5bdc3e134
commit f9463da857
1 changed files with 3 additions and 2 deletions

View File

@ -67,8 +67,9 @@ def install_default_skills(speak=True):
if t.splitlines()[-1] == "Installed!" and speak:
ws.emit(Message("speak", {
'utterance': "Skills Updated. Mycroft is ready"}))
ws.emit(Message("speak", {
'utterance': "Check your network connection"}))
elif not connected():
ws.emit(Message("speak", {
'utterance': "Check your network connection"}))
else:
logger.error("Unable to invoke Mycroft Skill Manager: " + MSM_BIN)