Skip to content

Commit eec2c72

Browse files
committed
Remove superfluous not
1 parent 201e925 commit eec2c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def recv_into(self, buffer, nbytes=0):
170170
buffer or timing out
171171
"""
172172

173-
if not (0 <= nbytes <= len(buffer)):
173+
if not 0 <= nbytes <= len(buffer):
174174
raise ValueError(
175175
"Can only read number of bytes between 0 and length of supplied buffer"
176176
)

0 commit comments

Comments
 (0)