We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9245308 commit 55506a7Copy full SHA for 55506a7
examples/pastebin_simpletest.py
@@ -3,7 +3,8 @@
3
# SPDX-License-Identifier: Unlicense
4
5
import ssl
6
-import socket
+import wifi
7
+import socketpool
8
import adafruit_requests as requests
9
from adafruit_pastebin.pastebin import PasteBin, ExpirationSetting, PrivacySetting
10
@@ -15,7 +16,7 @@
15
16
17
wifi.radio.connect(secrets["ssid"], secrets["password"])
18
pool = socketpool.SocketPool(wifi.radio)
-session = adafruit_requests.Session(pool, ssl.create_default_context())
19
+session = requests.Session(pool, ssl.create_default_context())
20
21
auth_key = secrets["auth_key"]
22
0 commit comments