WiFiManager icon indicating copy to clipboard operation
WiFiManager copied to clipboard

Not working as expected in a new network

Open alexanmtz opened this issue 5 years ago • 2 comments

After successfully setup a connection, the script is not working properly in a new network. It should be able to switch mode as the diagram on README if the current network is not found, so I would be able to setup a new one when runs 192.168.4.1?

alexanmtz avatar Mar 18 '19 12:03 alexanmtz

the Join on line 80 takes an empty string as separator, this should be a newline. f.write(''.join(lines)) should be f.write('\n'.join(lines))

Karijn avatar Feb 04 '22 07:02 Karijn

@Karijn https://github.com/tayfunulu/WiFiManager/blob/b86a900cf5d46601be1d850828038f6cfad8fecc/wifimgr.py#L78

There is the "\n" you were missing.

ThomasWaldmann avatar Feb 04 '22 17:02 ThomasWaldmann