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