Skip to content

Commit 2a637a4

Browse files
author
Richard Bryan
committed
fix references to _log
1 parent 3787057 commit 2a637a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pytuyo.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def send_cmd(self, cmd, timeout=1):
7676
try:
7777
self.check_resp()
7878
except Exception as e:
79-
log.error("Exception checking mituyou response")
80-
log.error(str(e))
79+
_log.error("Exception checking mituyou response")
80+
_log.error(str(e))
8181

8282
if not isinstance(cmd, bytes):
8383
try:
@@ -195,8 +195,8 @@ def check_resp(self):
195195
try:
196196
self._rx()
197197
except Exception as e:
198-
log.error("Exception checking mituyou response")
199-
log.error(str(e))
198+
_log.error("Exception checking mituyou response")
199+
_log.error(str(e))
200200
return
201201

202202
if len(self._rxqueue) == 0:

0 commit comments

Comments
 (0)