1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-09-27 14:43:04 +00:00

correctly format an error

This commit is contained in:
Lynne Megido 2019-09-10 13:13:06 +10:00
parent 43a1ff62b6
commit 9af94124b6

View file

@ -279,7 +279,7 @@ def bot_accounts_add():
mysql.connection.commit()
return redirect("/bot/accounts/{}".format(session['bot']), 303)
else:
error = "Couldn't access ActivityPub outbox. {} may require authenticated fetches, which FediBooks doesn't support yet."
error = "Couldn't access ActivityPub outbox. {} may require authenticated fetches, which FediBooks doesn't support yet.".format(instance)
return render_template("bot_accounts_add.html", error = error)
return render_template("bot_accounts_add.html", error = session.pop('error', None))