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