Skip to content

Commit a4bc944

Browse files
committed
updated library
1 parent d68032b commit a4bc944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yun/mqtt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def _socketpair_compat():
264264
sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_IP)
265265
sock1.setblocking(0)
266266
try:
267-
sock1.connect(("localhost", port))
267+
sock1.connect(("127.0.0.1", port))
268268
except socket.error as err:
269269
if err.errno != errno.EINPROGRESS and err.errno != errno.EWOULDBLOCK and err.errno != EAGAIN:
270270
raise

0 commit comments

Comments
 (0)