Merge pull request #12 from TilCreator/waitForClient

Add little delay to make sure the client gets the success message
pull/15/merge
Tayfun ULU 2018-05-29 13:59:09 +03:00 zatwierdzone przez GitHub
commit f827903e58
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -214,6 +214,9 @@ def handle_configure(client, request):
profiles = {}
profiles[ssid] = password
write_profiles(profiles)
time.sleep(5)
return True
else:
response = """\
@ -290,4 +293,3 @@ def start(port=80):
handle_not_found(client, url)
finally:
client.close()