Skip to content

Commit

Permalink
Fixing pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rospogrigio committed Jun 7, 2023
1 parent 9d5984e commit ba5670f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/pytuya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ def _decode_payload(self, payload):
json_payload = json.loads(payload)
except Exception as ex:
raise DecodeError(
"could not decrypt data: wrong local_key? (exception %s)", ex
"could not decrypt data: wrong local_key? (exception: %s)" % ex
)
# json_payload = self.error_json(ERR_JSON, payload)

Expand Down

0 comments on commit ba5670f

Please sign in to comment.