Issues 86 - Fix formatting for pep8

pull/109/head
Ethan Ward 2016-06-07 11:15:47 -05:00
parent 61d5ca377e
commit 1ebeb41ef2
1 changed files with 7 additions and 8 deletions

View File

@ -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")