Skip to content
Snippets Groups Projects
Commit 7a489398 authored by jkerdreu's avatar jkerdreu
Browse files

Oups, stupid typo

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2506 b32b6428-25c9-4566-ad07-03861ab6144f
parent 3c36eb54
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ class TuyaClient(object):
try:
dps = json.loads(data).get('dps',{})
except json.decoder.JSONDecodeError:
logging.warning(f"JSON Error: {data} ")
logger.warning(f"JSON Error: {data} ")
else:
self.pubish(Event.DPS,dps)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment