added missing get_session

master
Kostanjevec 2022-06-14 17:01:45 +02:00
parent c9e47ec111
commit 7fb71a6230
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ def get_matches(user_id):
def index():
if not 'user_id' in session:
redirect(url_for('index'))
dbsession = get_session()
user_id = session["user_id"]
username = session["username"]