From 11d6d0669575f03935fe391a60f8e3c5c6cfca69 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 21 Sep 2019 15:42:37 +1000 Subject: [PATCH] fix another broken link --- app/webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/webui.py b/app/webui.py index f6feb19..5ec1038 100644 --- a/app/webui.py +++ b/app/webui.py @@ -99,7 +99,7 @@ def bot_toggle(id): c.execute("UPDATE `bots` SET `enabled` = NOT `enabled` WHERE `handle` = %s", (id,)) mysql.connection.commit() c.close() - return redirect(url_for("home"), 303) + return redirect(url_for("render_home"), 303) @app.route("/bot/chat/") def bot_chat(id):