Skip to content

Commit a7d2a21

Browse files
authored
Merge pull request #163 from dannystaple/patch-1
Remove this closing notice
2 parents f7d899c + b3cc17b commit a7d2a21

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

adafruit_esp32spi/adafruit_esp32spi_wsgiserver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ def finish_response(self, result):
126126
self._client_sock.send(data.encode("utf-8"))
127127
gc.collect()
128128
finally:
129-
print("closing")
129+
if self._debug > 2:
130+
print("closing")
130131
self._client_sock.close()
131132

132133
def client_available(self):

0 commit comments

Comments
 (0)