We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a96fd commit fb69f00Copy full SHA for fb69f00
micropython/umqtt.simple/umqtt/simple.py
@@ -61,7 +61,7 @@ def set_last_will(self, topic, msg, retain=False, qos=0):
61
self.lw_retain = retain
62
63
def connect(self, clean_session=True, timeout=None):
64
- self._sock = self.sock = socket.socket()
+ self.sock = socket.socket()
65
if timeout:
66
self.sock.settimeout(timeout)
67
addr = socket.getaddrinfo(self.server, self.port)[0][-1]
0 commit comments