summaryrefslogtreecommitdiff
path: root/routes/analyse.py
diff options
context:
space:
mode:
authorMinea Salmimaa <msalmima@local>2023-12-03 12:44:45 +0200
committerMinea Salmimaa <msalmima@local>2023-12-03 12:44:45 +0200
commite0ca9caf5a49981ad999b1c0c3fec69d7c4871e4 (patch)
tree6402666bec2999dda0e1e7460b91b21e17310479 /routes/analyse.py
parent7353c51df2d074cbe01913044bda7aeef62a31b7 (diff)
Moving quiz related db actions to separete class and file.
Diffstat (limited to 'routes/analyse.py')
-rw-r--r--routes/analyse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/analyse.py b/routes/analyse.py
index 8175d47..7f968d0 100644
--- a/routes/analyse.py
+++ b/routes/analyse.py
@@ -82,7 +82,7 @@ def analyse():
caller="analyse",
alert=get_alert(),
nick=get_nick(),
- code=D.get_quiz_link(aid),
+ code=D.quiz.get_link(aid),
questions = rows2dicts( comparable, ['q','n','p','a1','a2','c'] ),
users = rows2dicts( D.get_users_answered(aid), ['id','nick'] ),
user1=int(uid1),