1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 08:38:59 +00:00

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,)) c.execute("UPDATE `bots` SET `enabled` = NOT `enabled` WHERE `handle` = %s", (id,))
mysql.connection.commit() mysql.connection.commit()
c.close() c.close()
return redirect(url_for("home"), 303) return redirect(url_for("render_home"), 303)
@app.route("/bot/chat/<id>") @app.route("/bot/chat/<id>")
def bot_chat(id): def bot_chat(id):