Get ap password from settings
This commit is contained in:
parent
2f10d4cabd
commit
37c7280a15
|
@ -5,4 +5,5 @@ from settings import Settings
|
||||||
s = Settings()
|
s = Settings()
|
||||||
|
|
||||||
name = s.get('name', 'led')
|
name = s.get('name', 'led')
|
||||||
wifi.ap(name, '')
|
password = s.get("ap_password", "")
|
||||||
|
wifi.ap(name, password)
|
||||||
|
|
Loading…
Reference in New Issue