Skip to content

Commit

Permalink
FIx minor variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Aug 11, 2021
1 parent b147ce0 commit b56721d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/mqtt_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def update_state(self, state):
self.publish('state', json.dumps(state))
self.state_sent = time.time()

def handle_message(self, topic, playload):
def handle_message(self, topic, payload):
if payload:
self.on_message(topic, json.loads(payload))

Expand Down

0 comments on commit b56721d

Please sign in to comment.