Skip to content

Commit 72f8e81

Browse files
committed
fix EAGAIN reference
1 parent b47a501 commit 72f8e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def _send_bytes(
475475
try:
476476
bytes_sent += self._sock.send(view[bytes_sent:])
477477
except OSError as exc:
478-
if exc.errno == EAGAIN:
478+
if exc.errno == errno.EAGAIN:
479479
continue
480480
raise
481481

0 commit comments

Comments
 (0)