This commit is contained in:
Rich
2021-07-03 06:20:02 +01:00
parent c3e4df2893
commit c68f2ef9c8

15
app.py
View File

@@ -32,6 +32,21 @@ def scan_wifi():
scan.append(line) scan.append(line)
# <!DOCTYPE html>
# <html>
# <body>
# <h2>Enter Password</h2>
# <form>
# <input type="text" id="passwd" name="passwd" value=""><br>
# <p><input type=submit value="Submit"></p>
# </form>
# </body>
# </html>
@app.route("/", methods=["GET", "POST"]) @app.route("/", methods=["GET", "POST"])
def main(): def main():
if request.method == "GET": if request.method == "GET":