This commit is contained in:
pluja 2020-09-26 20:18:50 +02:00
parent d0377b9d8d
commit 2dbc62c6ff

View File

@ -182,7 +182,7 @@ def search():
@app.route('/<username>')
@login_required
def u(username):
if username = "favicon.ico":
if username == "favicon.ico":
return redirect(url_for('static',filename='favicons/favicon.ico'))
form = EmptyForm()
avatarPath = "img/avatars/{}.png".format(str(random.randint(1,12)))