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 d15a11f commit 9a47a9bCopy full SHA for 9a47a9b
adafruit_portalbase/network.py
@@ -45,7 +45,6 @@
45
"""WiFi settings are kept in secrets.py, please add them there!
46
the secrets dictionary must contain 'ssid' and 'password' at a minimum"""
47
)
48
- raise
49
50
__version__ = "0.0.0-auto.0"
51
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git"
@@ -302,7 +301,7 @@ def connect(self):
302
301
self._wifi.neo_status(STATUS_CONNECTING)
303
while not self._wifi.is_connected:
304
# secrets dictionary must contain 'ssid' and 'password' at a minimum
305
- print("Connecting to AP", secrets["ssid"])
+ print("Connecting to AP", self._secrets["ssid"])
306
if (
307
self._secrets["ssid"] == "CHANGE ME"
308
or self._secrets["password"] == "CHANGE ME"
0 commit comments