Fix typo
This commit is contained in:
parent
d0377b9d8d
commit
2dbc62c6ff
@ -182,7 +182,7 @@ def search():
|
|||||||
@app.route('/<username>')
|
@app.route('/<username>')
|
||||||
@login_required
|
@login_required
|
||||||
def u(username):
|
def u(username):
|
||||||
if username = "favicon.ico":
|
if username == "favicon.ico":
|
||||||
return redirect(url_for('static',filename='favicons/favicon.ico'))
|
return redirect(url_for('static',filename='favicons/favicon.ico'))
|
||||||
form = EmptyForm()
|
form = EmptyForm()
|
||||||
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))
|
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))
|
||||||
|
Reference in New Issue
Block a user