Skip to content

Commit c2d41b7

Browse files
committed
Fix hang on wifi connect
1 parent 25107a8 commit c2d41b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servercom/implementations/circuitpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def connect_wifi(self, attempts=10) -> None:
176176
while not connected and attempts > 0:
177177
try:
178178
wifi.radio.connect(self.conf.AP_SSID)
179-
continue
179+
break
180180
except ConnectionError as e:
181181
if self.v:
182182
print(e.with_traceback)

0 commit comments

Comments
 (0)