Fix leftover string from old API

This commit is contained in:
Kristóf Tóth 2019-08-28 16:46:05 +02:00
parent 016130b081
commit 80eca7e322
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class FSMHandler:
LOG.error('IGNORING MESSAGE: Invalid message received: %s', message)
def handle_trigger(self, message): # pylint: disable=inconsistent-return-statements
if self.fsm.step(message['trigger']):
if self.fsm.step(message['transition']):
return message
def handle_update(self, message):