Skip to content

Commit

Permalink
Merge pull request tuya#44 from 3v1n0/patch-1
Browse files Browse the repository at this point in the history
device: Fix logger usage
  • Loading branch information
tsutsuku authored Nov 2, 2021
2 parents 004681d + 44e0215 commit f6835d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f6835d1

Please sign in to comment.