From 2dbc62c6ff68ad9b0b00fbe580112e463e4a6859 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 26 Sep 2020 20:18:50 +0200 Subject: [PATCH] Fix typo --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))