Skip to content

Commit

Permalink
Update axis_ptz_controller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Apr 1, 2024
1 parent ee36c49 commit aa85519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axis-ptz-controller/axis_ptz_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def decode_payload(
data : Dict[Any, Any]
The data payload of the message payload
"""
if isinstance(msg) == mqtt.MQTTMessage:
if isinstance(msg,mqtt.MQTTMessage):
payload = msg.payload.decode()
else:
payload = msg
Expand Down

0 comments on commit aa85519

Please sign in to comment.