Skip to content

Commit c7b89e1

Browse files
committed
Remove last arg from .socket() call
1 parent 10d349f commit c7b89e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,7 @@ def _get_connect_socket(self, host, port, *, timeout=1):
250250
retry_count += 1
251251

252252
try:
253-
sock = self._socket_pool.socket(
254-
addr_info[0], addr_info[1], addr_info[2]
255-
)
253+
sock = self._socket_pool.socket(addr_info[0], addr_info[1])
256254
except OSError:
257255
continue
258256

0 commit comments

Comments
 (0)