mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-27 14:58:59 +00:00
correctly format an error
This commit is contained in:
parent
43a1ff62b6
commit
9af94124b6
1 changed files with 1 additions and 1 deletions
2
webui.py
2
webui.py
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue