Skip to content

Commit

Permalink
fix EAGAIN reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Jan 2, 2025
1 parent b47a501 commit 72f8e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def _send_bytes(
try:
bytes_sent += self._sock.send(view[bytes_sent:])
except OSError as exc:
if exc.errno == EAGAIN:
if exc.errno == errno.EAGAIN:
continue
raise

Expand Down

0 comments on commit 72f8e81

Please sign in to comment.