Skip to content

Commit 32fd0b7

Browse files
author
brentru
committed
replace restclient
1 parent 9850a57 commit 32fd0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pyportal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def push_to_io(self, feed_key, data):
691691
raise KeyError("Adafruit IO secrets are kept in secrets.py, please add them there!\n\n")
692692

693693
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(self._esp, secrets, None)
694-
io_client = RESTClient(aio_username, aio_key, wifi)
694+
io_client = IO_HTTP(aio_username, aio_key, wifi)
695695

696696
while True:
697697
try:

0 commit comments

Comments
 (0)