Skip to content

Commit 3f4a34d

Browse files
committed
Fix typo that set a module instead of attribute to None
1 parent 6467a7c commit 3f4a34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yeelib/devices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def send_command(self, method, params):
8181
response = (await reader.readline()).decode()
8282
except OSError:
8383
logger.exception("Connection error")
84-
socket.socket = None
84+
self.socket = None
8585
else:
8686
if response is not None:
8787
logger.debug("%s: ... %s",

0 commit comments

Comments
 (0)