Update __init__.py

Adds delay to the wifi reset
pull/754/head
kfezer 2017-04-27 17:22:15 -07:00 committed by Augusto Monteiro 'Sparky
parent 7789db4e3c
commit 0c521107ab
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class EnclosureReader(Thread):
'rm ~/.mycroft/identity/identity2.json',
shell=True)
self.ws.emit(Message("mycroft.wifi.reset"))
time.sleep(4)
self.ws.emit(
Message("enclosure.eyes.spin"))
self.ws.emit(Message("enclosure.mouth.reset"))