From 0ea1dfafd1203faea735c82174e04a851dcaafc6 Mon Sep 17 00:00:00 2001 From: Greg Paris Date: Sun, 15 Dec 2019 15:05:17 -0500 Subject: [PATCH] Changed doubled check of 'ssid' in secrets to 'password', consistent with the comment. --- adafruit_pyportal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_pyportal.py b/adafruit_pyportal.py index fc7f82b..510b549 100644 --- a/adafruit_pyportal.py +++ b/adafruit_pyportal.py @@ -685,7 +685,7 @@ def _connect_esp(self): while not self._esp.is_connected: # secrets dictionary must contain 'ssid' and 'password' at a minimum print("Connecting to AP", secrets['ssid']) - if secrets['ssid'] == 'CHANGE ME' or secrets['ssid'] == 'CHANGE ME': + if secrets['ssid'] == 'CHANGE ME' or secrets['password'] == 'CHANGE ME': change_me = "\n"+"*"*45 change_me += "\nPlease update the 'secrets.py' file on your\n" change_me += "CIRCUITPY drive to include your local WiFi\n"