Closed CharlieAt closed 3 years ago
ampy (maybe other clients too) change the line endings from unix to dos. the 'restrictive' strip("\n") leaves the '\r' in the password causing the subsequent self.wlan_sta.connect to fail. https://github.com/ferreira-igor/micropython-wifi_manager/blob/5e99b12575661644e7630a4e4a7a1d274d326925/wifi_manager.py#L71 changing this to: ssid, password = line.strip().split(";") makes this line ending agnostic.
ampy (maybe other clients too) change the line endings from unix to dos. the 'restrictive' strip("\n") leaves the '\r' in the password causing the subsequent self.wlan_sta.connect to fail. https://github.com/ferreira-igor/micropython-wifi_manager/blob/5e99b12575661644e7630a4e4a7a1d274d326925/wifi_manager.py#L71 changing this to: ssid, password = line.strip().split(";") makes this line ending agnostic.