fix another broken link

This commit is contained in:
Lynne Megido 2019-09-21 15:42:37 +10:00
parent 39d2be53ad
commit 11d6d06695

View File

@ -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/<id>")
def bot_chat(id):