From 85b0a0f8b769b2ab14311ff612708f6fae6ea19e Mon Sep 17 00:00:00 2001 From: Kostanjevec Date: Thu, 23 Jun 2022 21:15:38 +0200 Subject: [PATCH] added todo... --- matches.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matches.py b/matches.py index a203f24..d863a66 100644 --- a/matches.py +++ b/matches.py @@ -8,6 +8,7 @@ from create_db import Card, User, get_session bp = Blueprint('matches', __name__, url_prefix='/matches') def get_matches(user_id): + #@TODO this is buggy dbsession = get_session() list_of_matches = [] @@ -55,4 +56,4 @@ def index(): names_by_ids[id] = users.get(id).username emails_by_ids[id] = users.get(id).email - return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users) + return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users) \ No newline at end of file