From d6c73dbde8a35905a8f29caf9b6d088043a5e78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marjo=20Murtom=C3=A4ki?= Date: Mon, 27 Nov 2023 20:06:59 +0200 Subject: Fixing so that the code will run again after adding csrf checks. --- routes/analyse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/analyse.py') diff --git a/routes/analyse.py b/routes/analyse.py index e256201..70d852b 100644 --- a/routes/analyse.py +++ b/routes/analyse.py @@ -2,7 +2,7 @@ from itertools import combinations from app import app from flask import render_template,session,request,redirect import db_actions as D -from routes.tools import rows2dicts, get_alert, get_nick, red +from routes.tools import rows2dicts, get_alert, get_nick, csrf_check def find_best_and_worst(aid, uid): answers=D.get_all_answers_for_quiz(aid) -- cgit v1.2.3