From b2432ab9cd26c0b29391ad009e571a5d80f49e88 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Wed, 11 Dec 2024 14:39:47 +0100 Subject: [PATCH] removed execute to test if page works --- src/Python/flask/web/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index fa3e2aa..7f21317 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -62,7 +62,8 @@ def phpmyadmin_passthrough(path): @app.route("/database") def database(): cur = mysql.connection.cursor() - cur.execute("SELECT * FROM kobuki_data") + # cur.execute("SELECT * FROM kobuki_data") + return "hi",404 if __name__ == '__main__': app.run(debug=True, port=5000)