Skip to content

Commit c50a103

Browse files
committed
make black happy
1 parent 6f2b40e commit c50a103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_esp32spi/adafruit_esp32spi_wsgiserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ def finish_response(self, result):
119119
response += "{0}: {1}\r\n".format(*header)
120120
response += "\r\n"
121121
self._client_sock.send(response.encode("utf-8"))
122-
if isinstance(result, bytes): # send whole response if possible (see #174)
122+
if isinstance(result, bytes): # send whole response if possible (see #174)
123123
self._client_sock.send(result)
124124
elif isinstance(result, str):
125125
self._client_sock.send(result.encode("utf-8"))
126-
else: # fall back to sending byte-by-byte
126+
else: # fall back to sending byte-by-byte
127127
for data in result:
128128
if isinstance(data, bytes):
129129
self._client_sock.send(data)

0 commit comments

Comments
 (0)