From ba5670fc1d5a804f37fcac0a902b1281a5566daf Mon Sep 17 00:00:00 2001 From: rospogrigio Date: Wed, 7 Jun 2023 12:23:41 +0200 Subject: [PATCH] Fixing pylint error --- custom_components/localtuya/pytuya/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/pytuya/__init__.py b/custom_components/localtuya/pytuya/__init__.py index fd69e7a..bcc8bbe 100644 --- a/custom_components/localtuya/pytuya/__init__.py +++ b/custom_components/localtuya/pytuya/__init__.py @@ -953,7 +953,7 @@ class TuyaProtocol(asyncio.Protocol, ContextualLogger): 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)