Get ap password from settings

This commit is contained in:
jimmy 2025-05-19 19:28:11 +12:00
parent 2f10d4cabd
commit 37c7280a15
1 changed files with 2 additions and 1 deletions

View File

@ -5,4 +5,5 @@ from settings import Settings
s = Settings()
name = s.get('name', 'led')
wifi.ap(name, '')
password = s.get("ap_password", "")
wifi.ap(name, password)