diff --git a/adafruit_requests.py b/adafruit_requests.py index 427b9e1..5bcf0e4 100644 --- a/adafruit_requests.py +++ b/adafruit_requests.py @@ -648,8 +648,8 @@ def request( # noqa: PLR0912,PLR0913,PLR0915 Too many branches,Too many argumen # Read the H of "HTTP/1.1" to make sure the socket is alive. send can appear to work # even when the socket is closed. # Both recv/recv_into can raise OSError; when that happens, we need to call - # _connection_manager.close_socket(socket) or future calls to _connection_manager.get_socket() - # for the same parameter set will fail + # _connection_manager.close_socket(socket) or future calls to + # _connection_manager.get_socket() for the same parameter set will fail try: if hasattr(socket, "recv"): result = socket.recv(1)