Skip to content

Commit fc07ed4

Browse files
authored
Update response.py
Fix linting issue
1 parent 1063a01 commit fc07ed4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_httpserver/response.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ def _send_bytes(
245245
except OSError as exc:
246246
if exc.errno == EAGAIN:
247247
continue
248-
elif exc.errno == ECONNRESET:
248+
if exc.errno == ECONNRESET:
249249
return
250-
else:
251-
raise exc
250+
raise

0 commit comments

Comments
 (0)