fix pep8
parent
582b77891e
commit
b38af90fac
|
@ -357,9 +357,11 @@ class Enclosure(object):
|
||||||
if has_been_paired():
|
if has_been_paired():
|
||||||
# TODO: Enclosure/localization
|
# TODO: Enclosure/localization
|
||||||
self.ws.emit(Message("speak", {
|
self.ws.emit(Message("speak", {
|
||||||
'utterance': "This unit is not connected to the Internet. Either "
|
'utterance': "This unit is not connected to the Internet."
|
||||||
"plug in a network cable or hold the button on top for "
|
" Either plug in a network cable or hold the "
|
||||||
"two seconds, then select wifi from the menu"}))
|
"button on top for two seconds, then select "
|
||||||
|
"wifi from the menu"
|
||||||
|
}))
|
||||||
else:
|
else:
|
||||||
# Begin the unit startup process, this is the first time it
|
# Begin the unit startup process, this is the first time it
|
||||||
# is being run with factory defaults.
|
# is being run with factory defaults.
|
||||||
|
@ -371,8 +373,10 @@ class Enclosure(object):
|
||||||
self.ws.emit(Message("mycroft.mic.mute", None))
|
self.ws.emit(Message("mycroft.mic.mute", None))
|
||||||
|
|
||||||
# Kick off wifi-setup automatically
|
# Kick off wifi-setup automatically
|
||||||
self.ws.emit(Message("mycroft.wifi.start", {'msg': "Hello I am "
|
self.ws.emit(Message("mycroft.wifi.start",
|
||||||
"Mycroft, your new assistant. To assist you I need to be "
|
{'msg': "Hello I am Mycroft, your new "
|
||||||
"connected to the internet. You can either plug me in "
|
"assistant. To assist you I need to be "
|
||||||
"with a network cable, or use wifi. To setup wifi ",
|
"connected to the internet. You can "
|
||||||
|
"either plug me in with a network cable,"
|
||||||
|
" or use wifi. To setup wifi ",
|
||||||
'allow_timeout': False}))
|
'allow_timeout': False}))
|
||||||
|
|
Loading…
Reference in New Issue