Issues 86 - Fix formatting for pep8
parent
61d5ca377e
commit
1ebeb41ef2
|
@ -35,19 +35,18 @@ class HelloWorldSkill(MycroftSkill):
|
|||
self.load_data_files(dirname(__file__))
|
||||
|
||||
thank_you_intent = IntentBuilder("ThankYouIntent").\
|
||||
require("ThankYouKeyword").build()
|
||||
self.register_intent(thank_you_intent, self.handle_thank_you_intent
|
||||
)
|
||||
require("ThankYouKeyword").build()
|
||||
self.register_intent(thank_you_intent, self.handle_thank_you_intent)
|
||||
|
||||
how_are_you_intent = IntentBuilder("HowAreYouIntent").\
|
||||
require("HowAreYouKeyword").build()
|
||||
self.register_intent(how_are_you_intent, self.handle_how_are_you_intent
|
||||
)
|
||||
require("HowAreYouKeyword").build()
|
||||
self.register_intent(how_are_you_intent,
|
||||
self.handle_how_are_you_intent)
|
||||
|
||||
hello_world_intent = IntentBuilder("HelloWorldIntent").\
|
||||
require("HelloWorldKeyword").build()
|
||||
require("HelloWorldKeyword").build()
|
||||
self.register_intent(hello_world_intent,
|
||||
self.handle_hello_world_intent)
|
||||
self.handle_hello_world_intent)
|
||||
|
||||
def handle_thank_you_intent(self, message):
|
||||
self.speak_dialog("welcome")
|
||||
|
|
Loading…
Reference in New Issue