Skip to content

Commit d91f33f

Browse files
committed
Verify we have a connection in the Adafruit IO stuff
1 parent 1d53404 commit d91f33f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_matrixportal/network.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ def connect(self):
280280
time.sleep(3)
281281

282282
def _get_io_client(self):
283+
self.connect()
284+
283285
try:
284286
aio_username = secrets["aio_username"]
285287
aio_key = secrets["aio_key"]

0 commit comments

Comments
 (0)