Skip to content

Commit

Permalink
Fix indentation on SessionEndedRequestHandler/handle
Browse files Browse the repository at this point in the history
The indentation on line 227, with the `global` statement, is wrong and breaks the skill.
  • Loading branch information
Cisneiros authored May 9, 2020
1 parent f51306d commit 4708d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def can_handle(self, handler_input):
def handle(self, handler_input):
# type: (HandlerInput) -> Response

global home_assistant_object
global home_assistant_object
if home_assistant_object == None:
home_assistant_object = HomeAssistant(handler_input)
home_assistant_object.get_ha_state()
Expand Down

0 comments on commit 4708d49

Please sign in to comment.