summaryrefslogtreecommitdiff
path: root/routes/tools.py
diff options
context:
space:
mode:
authorUnto Markkanen <umarkkan@local>2023-12-03 12:13:04 +0200
committerUnto Markkanen <umarkkan@local>2023-12-03 12:13:04 +0200
commite15e4b93c203ba94f413e97955c48d8761a70423 (patch)
treea1400d2de979052cafa3d55697232b375ce32459 /routes/tools.py
parent14365bb113400e576157be9da384c7bf0d80255c (diff)
Moving user related database commands to separate class and file.
Diffstat (limited to 'routes/tools.py')
-rw-r--r--routes/tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/tools.py b/routes/tools.py
index 5f6e141..65aff62 100644
--- a/routes/tools.py
+++ b/routes/tools.py
@@ -20,7 +20,7 @@ def get_alert():
def get_nick():
while "id" in session.keys():
- nick = D.user_get_nick(session["id"])
+ nick = D.user.get_nick(session["id"])
if not nick:
del session['id']
if "quiz_id" in session.keys():