Skip to content

Commit 6c18a02

Browse files
author
brentru
committed
set socket correctly
1 parent 88eebf2 commit 6c18a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/requests_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
# Initialize a requests object with a socket and esp32spi interface
4242
socket.set_interface(esp)
43-
requests.set_socket(socket)
43+
requests.set_socket(socket, esp)
4444

4545
TEXT_URL = "http://wifitest.adafruit.com/testwifi/index.html"
4646
JSON_GET_URL = "http://httpbin.org/get"

0 commit comments

Comments
 (0)