From 44e021593adfa47a196125d9fc696c439ccc6a7c Mon Sep 17 00:00:00 2001 From: Marco Trevisan Date: Mon, 1 Nov 2021 17:00:24 +0100 Subject: [PATCH] device: Fix logger usage Logger uses a different name so adapt it. --- example/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/device.py b/example/device.py index e59c880..f76e9c7 100644 --- a/example/device.py +++ b/example/device.py @@ -9,10 +9,10 @@ TuyaDeviceListener, TuyaDevice, TuyaTokenInfo, - tuya_logger + TUYA_LOGGER ) -tuya_logger.setLevel(logging.DEBUG) +TUYA_LOGGER.setLevel(logging.DEBUG) # Init openapi = TuyaOpenAPI(ENDPOINT, ACCESS_ID, ACCESS_KEY, AuthType.CUSTOM)