Skip to content

Commit a713177

Browse files
committed
reformat code using black/pre-commit
1 parent c39640d commit a713177

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k_wsgiserver.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def finish_response(self, result, client):
130130
client.send(data)
131131
else:
132132
# split to chunks of 2 kb
133-
data_chunks = [data[i:i + 0x800] for i in range(0, len(data), 0x800)]
133+
data_chunks = [
134+
data[i : i + 0x800] for i in range(0, len(data), 0x800)
135+
]
134136
for data_chunk in data_chunks:
135137
client.send(data_chunk)
136138
gc.collect()

0 commit comments

Comments
 (0)