From 79e967a517e48cf6a5f13a2a737d1bbef9caeaaa Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 28 Jul 2018 22:23:01 +0200 Subject: [PATCH] adsf --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index 20daa051..cb100f34 100644 --- a/webserver.py +++ b/webserver.py @@ -82,7 +82,7 @@ def page_profile(name: str): lol = db_session.query(db.LeagueOfLegends).filter_by(royal=user).one_or_none() ow = db_session.query(db.Overwatch).filter_by(royal=user).one_or_none() tg = db_session.query(db.Telegram).filter_by(royal=user).one_or_none() - discord = db_session.execute(query_discord_music.one_query, {royal=user.id}).fetchone() + discord = db_session.execute(query_discord_music.one_query, {"royal": user.id}).fetchone() db_session.close() return render_template("profile.html", ryg=user, css=css, osu=osu, rl=rl, dota=dota, lol=lol, steam=steam, ow=ow, tg=tg, discord=discord, config=config)