forked from forks/microblog.pub
Fix formatting
This commit is contained in:
parent
5e02a7958f
commit
2ab59d9476
1 changed files with 1 additions and 3 deletions
4
app.py
4
app.py
|
@ -758,9 +758,7 @@ def remote_follow():
|
||||||
profile = request.form.get("profile")
|
profile = request.form.get("profile")
|
||||||
if not profile.startswith("@"):
|
if not profile.startswith("@"):
|
||||||
profile = f"@{profile}"
|
profile = f"@{profile}"
|
||||||
return redirect(
|
return redirect(get_remote_follow_template(profile).format(uri=ID))
|
||||||
get_remote_follow_template(profile).format(uri=ID)
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@app.route("/authorize_follow", methods=["GET", "POST"])
|
@app.route("/authorize_follow", methods=["GET", "POST"])
|
||||||
|
|
Loading…
Reference in a new issue