diff --git a/app/routes.py b/app/routes.py index f1f9a71..4d787da 100644 --- a/app/routes.py +++ b/app/routes.py @@ -182,7 +182,7 @@ def search(): @app.route('/') @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)))