Skip to content

Commit 9f42d3d

Browse files
committed
Allow empty password
1 parent 38f5700 commit 9f42d3d

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
@@ -393,8 +393,7 @@ def connect(self, max_attempts=10):
393393
and "password" in credentials
394394
and isinstance(credentials["ssid"], str)
395395
and isinstance(credentials["password"], str)
396-
and len(credentials["ssid"])
397-
and len(credentials["password"]),
396+
and len(credentials["ssid"]),
398397
self._wifi_credentials,
399398
)
400399
)

0 commit comments

Comments
 (0)