Skip to content

Commit 9a47a9b

Browse files
committed
Make requested changes
1 parent d15a11f commit 9a47a9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_portalbase/network.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"""WiFi settings are kept in secrets.py, please add them there!
4646
the secrets dictionary must contain 'ssid' and 'password' at a minimum"""
4747
)
48-
raise
4948

5049
__version__ = "0.0.0-auto.0"
5150
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git"
@@ -302,7 +301,7 @@ def connect(self):
302301
self._wifi.neo_status(STATUS_CONNECTING)
303302
while not self._wifi.is_connected:
304303
# secrets dictionary must contain 'ssid' and 'password' at a minimum
305-
print("Connecting to AP", secrets["ssid"])
304+
print("Connecting to AP", self._secrets["ssid"])
306305
if (
307306
self._secrets["ssid"] == "CHANGE ME"
308307
or self._secrets["password"] == "CHANGE ME"

0 commit comments

Comments
 (0)