Fix formatting

This commit is contained in:
Thomas Sileo 2019-07-27 00:24:04 +02:00
parent 5e02a7958f
commit 2ab59d9476

4
app.py
View file

@ -758,9 +758,7 @@ def remote_follow():
profile = request.form.get("profile")
if not profile.startswith("@"):
profile = f"@{profile}"
return redirect(
get_remote_follow_template(profile).format(uri=ID)
)
return redirect(get_remote_follow_template(profile).format(uri=ID))
@app.route("/authorize_follow", methods=["GET", "POST"])